Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7cda3 commit 729a42fCopy full SHA for 729a42f
1 file changed
Doc/extending/newtypes.rst
@@ -30,8 +30,7 @@ The Python runtime sees all Python objects as variables of type
30
just contains the refcount and a pointer to the object's "type object". This is
31
where the action is; the type object determines which (C) functions get called
32
when, for instance, an attribute gets looked up on an object or it is multiplied
33
-by another object. These C functions are called "type methods" to distinguish
34
-them from things like ``[].append`` (which we call "object methods").
+by another object. These C functions are called "type methods".
35
36
So, if you want to define a new object type, you need to create a new type
37
object.
0 commit comments