NEWBIE: opaque error message

Greg Ewing greg.ewing at compaq.com
Fri Jun 18 00:37:53 CEST 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