Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 770319d

Browse files
committed
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
1 parent 1c69c3e commit 770319d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/reference/datamodel.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,9 +2222,9 @@ correctness, implicit special method lookup generally also bypasses the
22222222
:meth:`__getattribute__` method even of the object's metaclass::
22232223

22242224
>>> class Meta(type):
2225-
... def __getattribute__(*args):
2226-
... print("Metaclass getattribute invoked")
2227-
... return type.__getattribute__(*args)
2225+
... def __getattribute__(*args):
2226+
... print("Metaclass getattribute invoked")
2227+
... return type.__getattribute__(*args)
22282228
...
22292229
>>> class C(object, metaclass=Meta):
22302230
... def __len__(self):

0 commit comments

Comments
 (0)