Comment 1 for bug 1648651

Revision history for this message
asmeurer (asmeurer) wrote :

Python docs are confusing here. They say

> Special attributes: __name__ is the class name; __module__ is the module name in which the class was defined; __dict__ is the dictionary containing the class’s namespace; __bases__ is a tuple (possibly empty or a singleton) containing the base classes, in the order of their occurrence in the base class list; __doc__ is the class’s documentation string, or None if undefined.

but __dict__ and __bases__ are undefined in the class body (pyflakes seems to be correct for all except for __module__).