Duncan Booth <[EMAIL PROTECTED]> writes: > modules are not special in any way, except that you cannot subclass them. > Oops, sorry I got that wrong. Modules are not special in any way, they can > have methods as well as functions:
I've felt for a long time that you should be able to define __call__ on a module, but that doesn't seem to be allowed, at least if you try it in the obvious way. -- http://mail.python.org/mailman/listinfo/python-list