Function name unchanged in error message
andrew at acooke.org
Sat Jan 30 23:26:43 CET 2010
On Jan 29, 11:50 am, exar... at twistedmatrix.com wrote:
> new.function and new.code will let you construct new objects with
> different values (and copying over whichever existing attributes you
> want to preserve).
unfortunately new is deprecated and dropped from 3. i can't see how
the same functionality is available in the types module for 3 - am i
missing something obvious?
More information about the Python-list