Bug? cgi.escape(int)
Terry Reedy
tjreedy at udel.edu
Thu Jul 25 10:31:59 EDT 2002
"Max M" <maxm at mxm.dk> wrote in message news:3D40066E.2090809 at mxm.dk...
> The message "Argument must be a string", while not technically
correct,
> is far easier to understand and in line with the Docs where argument
's'
> is defined as a string.
If the requirement is that the arg have a replace method -- as
indicated by the error message and which seems quite sensible if you
are asking that dangerous chars be replaced with escapes -- then the
doc should be corrected. Someone could file a doc bug report.
TJR
More information about the Python-list
mailing list