F
Flavio
How is this code going to look like in Python 3.0? (it's deprecated
according to http://docs.python.org/library/new.html#module-new, but
it does not tell what to use instead)
method = new.instancemethod(raw_func, None, cls)
setattr(cls, name, method)
Can we write code in python2.5/2.6 that will work in 3.0?
according to http://docs.python.org/library/new.html#module-new, but
it does not tell what to use instead)
method = new.instancemethod(raw_func, None, cls)
setattr(cls, name, method)
Can we write code in python2.5/2.6 that will work in 3.0?