[docs] [issue10178] PEP 378 uses replace where translate may work better

samwyse report at bugs.python.org
Sat Oct 23 18:35:50 CEST 2010

samwyse <samwyse at gmail.com> added the comment:

The text in question is also talking about the problems with using 'replace' to swap pairs of characters, so a better, alternate, process would be valuable, especially for anyone unaware of the translate method.


Python tracker <report at bugs.python.org>

More information about the docs mailing list