Thanks again.
On 8/31/05, Terry Reedy <[EMAIL PROTECTED]> wrote:
"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.__doc__
'S.translate(table [,deletechars]) -> string\n\nReturn a copy of the string
S, where all characters occurring in the optional argument deletechars are
removed, and the remaining characters have been mapped through the given
translation table, which must be a string of length 256.'
>but the thing is the method translate actually accepts 10 arguements.
Why do you think that?
Terry J. Reedy
--
http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list