New submission from Brian O'Neill: The doc says "If there is a third argument, it must be a string, whose characters will be mapped to None in the result." The characters of the optional third argument get mapped to '', of course, not to None.
---------- assignee: docs@python components: Documentation messages: 251603 nosy: BrianO, docs@python priority: normal severity: normal status: open title: str.maketrans wrong description for optional 3rd parameter type: behavior versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25236> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com