[Python-checkins] cpython (3.4): docs: Better wording for __objclass__ docs. Issue #19281

yury.selivanov python-checkins at python.org
Tue Apr 8 20:01:20 CEST 2014


http://hg.python.org/cpython/rev/372b19005011
changeset:   90187:372b19005011
branch:      3.4
parent:      90185:0973d45197cc
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Tue Apr 08 14:00:35 2014 -0400
summary:
  docs: Better wording for __objclass__ docs. Issue #19281

files:
  Doc/reference/datamodel.rst |  12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)


diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1467,12 +1467,12 @@
    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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list