]> granicus.if.org Git - python/commitdiff
docs: Better wording for __objclass__ docs. Issue #19281
authorYury Selivanov <yselivanov@sprymix.com>
Tue, 8 Apr 2014 18:00:35 +0000 (14:00 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Tue, 8 Apr 2014 18:00:35 +0000 (14:00 -0400)
Doc/reference/datamodel.rst

index a78b222a287a862b99d6a37e03f45e589902baf8..ccaa4f785ae47738f633b37361910d510b777e64 100644 (file)
@@ -1467,12 +1467,12 @@ class' :attr:`__dict__`.
    Called to delete the attribute on an instance *instance* of the owner class.
 
 
-The :attr:`__objclass__` is interpreted by the :mod:`inspect` module as
-specifying the class where this object was defined (setting this appropriately
-can assist in runtime introspection of dynamic class attributes). For callables,
-it may indicate that an instance of the given type (or a subclass) is expected
-or required as the first positional argument (for example, CPython sets this
-attribute for unbound methods that are implemented in C).
+The attribute :attr:`__objclass__` is interpreted by the :mod:`inspect` module
+as specifying the class where this object was defined (setting this
+appropriately can assist in runtime introspection of dynamic class attributes).
+For callables, it may indicate that an instance of the given type (or a
+subclass) is expected or required as the first positional argument (for example,
+CPython sets this attribute for unbound methods that are implemented in C).
 
 
 .. _descriptor-invocation: