Found the error. It was not in the code at all it has to do with
the fact that the String module has a translate method and it was being
used not the one I wrote.
Thanks again.On 8/31/05, Terry Reedy <[EMAIL PROTECTED]> wrote:
"Jeffrey Maitland" <[EMAIL PROTECTED]> wrote in messagenews:[EMAIL PR
"Jeffrey Maitland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello folks,
>I am wondering why I am getting this error. when I try to run a script.
>TypeError: translate() takes at most 3 arguments (10 given)
Because you apparently gave it more than 3 args.
>>> str.translate._
> I am wondering why I am getting this error. when I try to run a script.
> TypeError: translate() takes at most 3 arguments (10 given)
> but the thing is the method translate actually accepts 10 arguements.
without code, how is anyone to know?
--
http://mail.python.org/mailman/listinfo/python