[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:


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.


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

Python tracker <report at bugs.python.org>

More information about the docs mailing list