How to get/set class attributes in Python

vincent wehren vincent at visualtrans.de
Sun Jun 12 12:16:28 EDT 2005


"Peter Dembinski" <pdemb at gazeta.pl> schrieb im Newsbeitrag 
news:87zmtvh8r3.fsf at hector.domek...
| Kalle Anke <skromta at gmail.com> writes:
|
| [snap]
|
| >> sys.maxint = -12345
| >
| > I don't really understand what you're meaning.
|
| He meant None = 1 :>

I'm sure you know that has become a no-no in Python 2.4+ ;)

>>> None = 1
SyntaxError: assignment to None
>>>


--
Vincent Wehren










More information about the Python-list mailing list