Message77379
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. |
|
Date |
User |
Action |
Args |
2008-12-09 00:30:29 | suicideducky | set | recipients:
+ suicideducky, georg.brandl |
2008-12-09 00:30:29 | suicideducky | set | messageid: <1228782629.1.0.4913210804.issue4605@psf.upfronthosting.co.za> |
2008-12-09 00:30:28 | suicideducky | link | issue4605 messages |
2008-12-09 00:30:28 | suicideducky | create | |
|