[issue28612] str.translate needs a mapping example

Gaurav Tatke report at bugs.python.org
Fri Dec 30 15:17:59 EST 2016


Gaurav Tatke added the comment:

Should a user be suggested to use str.translate() for the use case where user only wants to keep certain characters and strip off everything else?

----------

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


More information about the Python-bugs-list mailing list