namespaces module (a.k.a. bunch, struct, generic object, etc.) PEP

Nick Coghlan ncoghlan at iinet.net.au
Sat Feb 12 03:21:58 EST 2005


Nick Coghlan wrote:
> Py> class NS(namespaces.Namespace):
> ...   x = prop
> ...

Oops - c&p error here. This was actually:

Py> class NS(namespaces.Namespace):
...   x = prop
...   __x__ = prop
...

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list