In gnome-python 1.4.2, gtk.py contains the following code at lines
1044-1047:

class GtkBox(GtkContainer):
        get_type = _gtk.gtk_box_get_type
        def __init__(self, _obj=None):
                if nonint: return

Problem is "nonint" doesn't seem to be defined anywhere and this code
throws a NameError exception.

Changing the offending line to just "return" fixes the problem, but
leaves me wondering - what was the intention of this code?  And how
was it ever tested?

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to