Message171449
| Author |
chris.jerdonek |
| Recipients |
asvetlov, chris.jerdonek, docs@python |
| Date |
2012年09月28日.12:37:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348835822.48.0.684725096501.issue16072@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[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' |
|
History
|
|---|
| 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 |
|