[Python-Dev] METH_CLASS

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 METH_CLASS in the CVS sources)?
> There's an example in sandbox/datetime/datetime.c; search for
> "datetime_now".
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 ;-)