Menu

#1153 pydev doesn't know about __name__ or __module__ on imports

open
5
2010-05-18
2010-05-18
No

If I define a class 'foo' in a module 'a', I can access 'foo.__name__' or 'foo.__module__' just fine.

But if I make a module 'b', and in it do 'import a; a.foo.__name__', pydev thinks that a.foo.__name__ is an error. Same for '__module__'.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.