[Python-checkins] cpython (3.4): 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/714b7b684610
changeset:   95540:714b7b684610
branch:      3.4
parent:      95537:2d7a4121a0c8
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Apr 11 14:59:30 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
@@ -2222,9 +2222,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