New submission from chris <[EMAIL PROTECTED]>: http://docs.python.org/3.0/library/stdtypes.html#str.translate mentions the following: "You can use the maketrans() helper function in the string module to create a translation table."
But maketrans is now a string method not just a function of the string module. It even mentions that right above it that it is now a method of string objects: "A map for translate() is usually best created by str.maketrans()." The page where this all appears in is: http://docs.python.org/3.0/library/stdtypes.html It may have just not been updated fully from an older release. If I am mistaken and this is not a bug, I appologise. ---------- assignee: georg.brandl components: Documentation messages: 77379 nosy: georg.brandl, suicideducky severity: normal status: open title: 3.0 documentation mentions using maketrans from within the string module. versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4605> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com