|
From: Michael <mi...@st...> - 2000-09-08 09:27:47
|
David Leonard wrote:
>
> I've added a check now and will eventually commit it. The error you
> would get after the patch would be:
>
> TypeError: ("expected a tuple", 2)
>
> which would probably not help, unless you knew that MOD_REPLACE = 2.
It might be a better choice to check that the modify list parameter
is really a Python list object because most beginners will forget to
create a list containing the tuples.
The misleading exception
SystemError: new style getargs format but argument is not a tuple
is raised because of a tuple passed to the method instead of a list.
Ciao, Michael.
|