Kaydet (Commit) 569fce79 authored tarafından Guido van Rossum's avatar Guido van Rossum

Rename class methods to instance methods (at least where user-visible)

üst 864407d1
......@@ -202,8 +202,8 @@ typeobject Instancetype = {
};
/* And finally, here are class method objects */
/* (Really methods of instances) */
/* And finally, here are instance method objects
(accidentally called class methods) */
typedef struct {
OB_HEAD
......@@ -283,7 +283,7 @@ classmethod_dealloc(cm)
typeobject Classmethodtype = {
OB_HEAD_INIT(&Typetype)
0,
"class method",
"instance method",
sizeof(classmethodobject),
0,
classmethod_dealloc, /*tp_dealloc*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment