Testing if a global is defined in a module

Waldek M. wm at localhost.localdomain
Wed Jul 6 08:00:38 CEST 2011

Dnia Wed, 06 Jul 2011 03:36:24 +1000, Steven D'Aprano napisał(a):
> Because unless you are extremely disciplined, code and the comments
> describing them get out of sync. [...]
True, but that gets far worse with external docs.
Do you have in mind any better replacement?


More information about the Python-list mailing list