Message234313
The example is correct. If you type it into a python interpreter, you get the results as shown in the example.
The .replace() method does not modify the string s. It returns the new value. In the example, the new value is displayed, but is not assigned back to s, so s does not change. |
|
Date |
User |
Action |
Args |
2015-01-19 14:13:54 | eric.smith | set | recipients:
+ eric.smith, docs@python, Dionysis.Zindros |
2015-01-19 14:13:54 | eric.smith | set | messageid: <1421676834.33.0.886161957596.issue23271@psf.upfronthosting.co.za> |
2015-01-19 14:13:54 | eric.smith | link | issue23271 messages |
2015-01-19 14:13:54 | eric.smith | create | |
|