'static' class properties in extension types

Tim Goetze ggrp at quitte.de
Sat Dec 1 09:48:27 EST 2001


class C:
  const = 1

can somebody tell me if, and how I can create the equivalent of
'C.const' if C is not a Python class, but a type implemented in a C
extension module?

tia for suggestions,

tim



More information about the Python-list mailing list