summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-08-19 03:31:10 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-08-19 03:31:10 (GMT)
commit17e92cf9a6a318feba033859ec518d917a3a11ef (patch)
tree39a2fe8a58c6217c1bfff22a1c180dec89d3e8a1 /Doc/extending
parent74adbaa7bd0e61847ff3eb4c77331093b6728446 (diff)
parent729a42f263e434ff982381305a285b9761a4af0b (diff)
downloadcpython-17e92cf9a6a318feba033859ec518d917a3a11ef.zip
cpython-17e92cf9a6a318feba033859ec518d917a3a11ef.tar.gz
cpython-17e92cf9a6a318feba033859ec518d917a3a11ef.tar.bz2
Merge from 3.2
Issue #12672: remove confusing part of sentence in documentation
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 1dead7f..6a65941 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.