diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-08-19 03:29:51 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-08-19 03:29:51 (GMT) |
commit | f6854cb0f0661026fafd6e3717c9f56cc888bb0a (patch) | |
tree | 591ffda6c059a2a28d7b8a22b6d047f8488b8422 /Doc | |
parent | b2761186af43709e4e1e7fe3c82c956d40967674 (diff) | |
download | cpython-f6854cb0f0661026fafd6e3717c9f56cc888bb0a.zip cpython-f6854cb0f0661026fafd6e3717c9f56cc888bb0a.tar.gz cpython-f6854cb0f0661026fafd6e3717c9f56cc888bb0a.tar.bz2 |
Issue #12672: remove confusing part of sentence in documentation
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/extending/newtypes.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 75836c7..2ba01bc 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -30,8 +30,7 @@ The Python runtime sees all Python objects as variables of type just contains the refcount and a pointer to the object's "type object". This is where the action is; the type object determines which (C) functions get called when, for instance, an attribute gets looked up on an object or it is multiplied -by another object. These C functions are called "type methods" to distinguish -them from things like ``[].append`` (which we call "object methods"). +by another object. These C functions are called "type methods". So, if you want to define a new object type, you need to create a new type object. |