Comment 4 for bug 962639

Revision history for this message
crisjump@gmail.com (crisjump) wrote :

I un-commented line 27 in /usr/lib/python2.7/dist-packages/gobject/constants.py and now I can help()... modules

original:
     24 import gobject._gobject
     25 _gobject = sys.modules['gobject._gobject']
     26
     27 # TYPE_INVALID defined in gobjectmodule.c
     28 TYPE_NONE = _gobject.type_from_name('void')
     29 TYPE_INTERFACE = _gobject.type_from_name('GInterface')

new:
     24 import gobject._gobject
     25 _gobject = sys.modules['gobject._gobject']
     26
     27 TYPE_INVALID defined in gobjectmodule.c
     28 TYPE_NONE = _gobject.type_from_name('void')
     29 TYPE_INTERFACE = _gobject.type_from_name('GInterface')

I have no idea what other problems this might cause if any.