[Python-Dev] METH_CLASS

Thomas Heller thomas.heller@ion-tof.com
Thu, 25 Apr 2002 14:57:10 +0200


I wrote:

> 3. While we're at it, although I could try to find out myself:
> How would one create a classmethod [in C] in Python 2.2?

and I answered it myself with a variant of my standard answer:
Implement it as an instance method in the metaclass.

Thomas