[docs] [issue21279] str.translate documentation incomplete

John Posner report at bugs.python.org
Fri Dec 19 15:58:58 CET 2014


John Posner added the comment:

Regarding Martin's patch of 12-18:

stdtypes.rst -- looks good to me

unicodeobject.c -- I suggest changing this sentence:

If a character is not in the table, the subscript operation should raise LookupError, and the character is left untouched.

 ... to:

If the subscript operation raises a LookupError, the character is left untouched.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21279>
_______________________________________


More information about the docs mailing list