Message171449
[Reopening] It looks like at least *some* change is warranted here. Notice that all the functions document "s" for the string argument but string.replace() documents "str". However, we have (in 2.7):
>>> string.replace(str='aab', old='a', new='b')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: replace() got an unexpected keyword argument 'str'
>>> string.replace(s='aab', old='a', new='b')
'bbb' |
|
Date |
User |
Action |
Args |
2012-09-28 12:37:02 | chris.jerdonek | set | recipients:
+ chris.jerdonek, asvetlov, docs@python |
2012-09-28 12:37:02 | chris.jerdonek | set | messageid: <1348835822.48.0.684725096501.issue16072@psf.upfronthosting.co.za> |
2012-09-28 12:37:02 | chris.jerdonek | link | issue16072 messages |
2012-09-28 12:37:02 | chris.jerdonek | create | |
|