[Python-checkins] cpython (merge 3.4 -> default): Issue #23912: Fix code formatting in datamodel.rst.
berker.peksag
python-checkins at python.org
Sat Apr 11 13:59:19 CEST 2015
https://hg.python.org/cpython/rev/5cd072882051
changeset: 95541:5cd072882051
parent: 95539:b60f42842f30
parent: 95540:714b7b684610
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Apr 11 14:59:50 2015 +0300
summary:
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
files:
Doc/reference/datamodel.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2226,9 +2226,9 @@
:meth:`__getattribute__` method even of the object's metaclass::
>>> class Meta(type):
- ... def __getattribute__(*args):
- ... print("Metaclass getattribute invoked")
- ... return type.__getattribute__(*args)
+ ... def __getattribute__(*args):
+ ... print("Metaclass getattribute invoked")
+ ... return type.__getattribute__(*args)
...
>>> class C(object, metaclass=Meta):
... def __len__(self):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list