Question about a single underscore.

Paul Rubin http
Thu Feb 1 14:06:02 EST 2007


"Steven W. Orr" <steveo at syslang.net> writes:
> AttributeError: _const instance has no attribute '_const'
> >>> 
> What am I missing here? (Sorry if it should be obvious)

Oh I see.  No it's not obvious.  module "const" has gotten overwritten
by the _const instance.  I think that module author was too clever for
his or her own good.



More information about the Python-list mailing list