diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-04-08 18:01:12 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-04-08 18:01:12 (GMT) |
commit | 490a72e022cfe86f196b7761d6c614820fd27adc (patch) | |
tree | 635d3efccc0db629ae58894065853b45c57a2618 /Doc/reference | |
parent | b9aa8cb0c7fe20472627312b713dd426ea4228cf (diff) | |
download | cpython-490a72e022cfe86f196b7761d6c614820fd27adc.zip cpython-490a72e022cfe86f196b7761d6c614820fd27adc.tar.gz cpython-490a72e022cfe86f196b7761d6c614820fd27adc.tar.bz2 |
docs: Better wording for __objclass__ docs. Issue #19281
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index a78b222..ccaa4f7 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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: |