[Python-checkins] cpython (3.2): Issue #12672: remove confusing part of sentence in documentation
georg.brandl
python-checkins at python.org
Sun Sep 4 08:42:09 CEST 2011
http://hg.python.org/cpython/rev/8083e51522ee
changeset: 72229:8083e51522ee
branch: 3.2
user: Eli Bendersky <eliben at gmail.com>
date: Fri Aug 19 06:29:51 2011 +0300
summary:
Issue #12672: remove confusing part of sentence in documentation
files:
Doc/extending/newtypes.rst | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -30,8 +30,7 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list