'static' class properties in extension types

Tim Goetze ggrp at quitte.de
Sat Dec 1 15:48:27 CET 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