NEWBIE: opaque error message

Greg Ewing greg.ewing at compaq.com
Thu Jun 17 18:37:53 EDT 1999


Eugene Leitl wrote:
> 
>   File "/usr/lib/python1.5/copy.py", line 221, in _deepcopy_inst
>     return x.__deepcopy__(memo)
> TypeError: too many arguments; expected 1, got 2

I suspect that the __deepcopy__ method of one of
your objects is missing a 'self' argument.

Greg




More information about the Python-list mailing list