[issue12164] str.translate docstring doesn't mention that 'table' can be None
Mark Dickinson
report at bugs.python.org
Sat Jun 4 16:54:45 CEST 2011
Mark Dickinson <dickinsm at gmail.com> added the comment:
Thanks for the patches! Here's a slight expansion of the wording on your second patch:
Return 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 or None.
If the table argument is None, no translation is applied and
the translation simply removes the characters in deletechars.
What do you think?
----------
assignee: docs at python -> mark.dickinson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12164>
_______________________________________
More information about the Python-bugs-list
mailing list