[docs] [issue28612] str.translate needs a mapping example

Gaurav Tatke report at bugs.python.org
Thu Dec 29 05:38:15 EST 2016


Gaurav Tatke added the comment:

Hi,

I am new to Python and want to contribute. I am attaching a patch having required example of using defaultdict with translate. Please let me know if anything needs to be changed. I have tested the example and also the html doc in my local.

Regards,
Gaurav

----------
keywords: +patch
nosy: +Gaurav Tatke
Added file: http://bugs.python.org/file46072/translateexample_issue28612.patch

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


More information about the docs mailing list