Florent Xicluna added the comment: you're right, this behavior is documented.
>>> u'read this short text'.translate(None, 'aeiou') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: translate() takes exactly one argument (2 given) >>> http://docs.python.org/2/library/stdtypes.html#str.translate ---------- resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com