[Python-Dev] METH_CLASS (original) (raw)

Thomas Heller thomas.heller@ion-tof.com
Thu, 25 Apr 2002 16:40:53 +0200


From: "Fred L. Drake, Jr." <fdrake@acm.org>

Thomas Heller writes: > Is the documentation wrong, or is the code wrong (I didn't find > any use of METHCLASS in the CVS sources)? There's an example in sandbox/datetime/datetime.c; search for "datetimenow". Yes, it is also used (demonstrated) in Modules/xxsubtype.c.

But this doesn't answer my question. I still think that the docs and the code disagree. (and also I hope that the docs are correct and the code is wrong ;-)

Thomas