[Python-projects] Pylint fails to understand inheritance
Skip Montanaro
skip.montanaro at gmail.com
Thu Nov 16 22:36:15 CET 2006
> > If you get something else than "gtk", you should probably post a bug on
> > the pygtk project. Else I'll have to investigate further...
Works for me:
% python
Python 2.4.2 (#1, Feb 23 2006, 12:48:31)
[GCC 3.4.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> pygtk.require("2.6")
>>> import gtk
>>> print gtk.Button.__module__
gtk
(You can ignore the import pygtk stuff. We have several versions of
pygtk installed. This just selects a specific version. The result
would be the same if I explicitly set PYTHONPATH to refer to a
specific gtk install directory.)
Skip
More information about the Python-Projects
mailing list