[wxpython-dev] Possible to derive from GC?
Nitro
nitro at dr-code.org
Thu May 29 18:16:35 PDT 2008
Am 30.05.2008, 03:06 Uhr, schrieb Robin Dunn <robin at alldunn.com>:
> It would be nice to not have to duplicate the two else clauses at the
> end.
Good idea :-)
try:
func = callableObject.__call__.im_func
except AttributeError:
try:
func = callableObject.im_func
except AttributeError:
try:
return _paramMinCountFunc(callableObject)
except exc:
raise 'Cannot determine type of callable: %s' %
repr(callableObject)
min, d = _paramMinCountFunc(func)
return min-1, d
>> FloatCanvas (like the one to pubsub above)? Send in a patch on this
>> mailing list and somebody reviews and accepts it?
>
> Yes, or submit a ticket at trac.wxwidgets.org
Ok, should I submit a ticket for this one so it is not forgotten about?
Thanks for your help,
-Matthias
More information about the wxpython-dev
mailing list