On Wednesday 28 July 2004 06:40 pm, Bob Ippolito wrote: > I've used sys.modules[__module__] to get a reference to the current > module object. Mostly for running doctests I guess, but I've probably > used it in other places. Did you mean __name__? __module__ is an attribute of classes that provides the __name__ of the defining module. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4