[issue11604] Have type(n,b,d) check for type(b[i]) is module

Terry J. Reedy report at bugs.python.org
Sun Mar 20 18:46:32 CET 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Whoops. That should be 'Cannot subclass a module' or 'Cannot subclass module %s' % modulename.  Types.ModuleType can indeed by subclassed.

I agree that this is not a pressing issue, but it will at least provide an answer to anyone searching the tracker for the current message.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11604>
_______________________________________


More information about the Python-bugs-list mailing list