summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-11 11:59:50 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-11 11:59:50 (GMT)
commit2995cc68550a62657339d3455ecb2e37a926ad7c (patch)
treeeaaa302eb4bb77fc3335523d3f95ad720a6d5710
parent339e3f33b6dad76b2622ffd34fc4b0083936fa24 (diff)
parent770319d6bd57558a269d388120a4edeff857a3ad (diff)
downloadcpython-2995cc68550a62657339d3455ecb2e37a926ad7c.zip
cpython-2995cc68550a62657339d3455ecb2e37a926ad7c.tar.gz
cpython-2995cc68550a62657339d3455ecb2e37a926ad7c.tar.bz2
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
-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 5e909a9..df8b245 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2226,9 +2226,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):