summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-11 11:59:30 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-11 11:59:30 (GMT)
commit770319d6bd57558a269d388120a4edeff857a3ad (patch)
treee30cbba8f628a11acef3c9004219facb6096910a /Doc/reference
parent1c69c3e3d8012918473b760ba51bf93e2c4ad2f1 (diff)
downloadcpython-770319d6bd57558a269d388120a4edeff857a3ad.zip
cpython-770319d6bd57558a269d388120a4edeff857a3ad.tar.gz
cpython-770319d6bd57558a269d388120a4edeff857a3ad.tar.bz2
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index e3646f8..dda18ba 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2222,9 +2222,9 @@ correctness, implicit special method lookup generally also bypasses the
: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):