'strip' documentation for beginners <g>
Dan Rawson
daniel.rawson.take!this!out! at asml.nl
Wed Mar 5 08:19:18 EST 2003
Gerrit Holl wrote:
> Dan Rawson schreef op dinsdag 4 maart om 13:36:17 +0000:
>
>>The documentation for string.strip states that it can take an optional
>>second parameter, but it doesn't appear to work:
>>
>>
>>07:23:06 $ python
>>Python 2.2.1 (#1, Sep 12 2002, 16:24:44)
>
> ~~~~~
>
>
>>Or did I miss something obvious??? I DID do a search in the What's New in
>>the 2.2.2 documentation.
>
>
> But you are running 2.2.1. Not sure whether that's the reason though.
>
> yours,
> Gerrit.
>
It does work as advertised in 2.2.2. I also finally found it in the 2.2.2b1 section of Misc/NEWS (but NOT in the
"What's New" section of the HTML / downloadable docs).
I also figured out how to implement it with a translate() instead; always something new to learn ;-)
Thanks for everyone's help!
More information about the Python-list
mailing list