[docs] [issue21279] str.translate documentation incomplete

Martin Panter report at bugs.python.org
Sun Dec 21 23:05:30 CET 2014


Martin Panter added the comment:

Serhiy can you point out which bits are too verbose? Perhaps you prefer it without the bullet list like in the earlier 2014-12-13 version of the patch.

Looking at the C API, I see a couple problems there:
* Omits mentioning that an ordinal can map to a replacement string
* It looks like the documented None behaviour applies when errors="ignore", otherwise it invokes a codec error handler

----------

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


More information about the docs mailing list