Re: [docs] Typo in the String docs

Aug. 14, 2012
11:49 a.m.
Hello Ramon, On Mon, Aug 13, 2012 at 2:09 PM, Ramon Royo Giner <rroyog@uoc.edu> wrote:
I'm sorry, I could have used some examples to make my original email more clear. What you're doing is using the replace() method of the string object:
which has the first argument already "filled":
s.replace('oo', 'o') 'Hello'
so you don't need to specify once again the string it operates on. In the example you cited in the original email refers to the replace() function of the string module:
Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
4597
Age (days ago)
4597
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sandro Tosi