string.strip

Simon Brunning SBrunning at trisystems.co.uk
Fri Nov 8 05:46:32 EST 2002


> From:	Duncan Booth [SMTP:duncan at NOSPAMrcp.co.uk]
> Gerhard Häring <gerhard.haering at opus-gmbh.net> wrote: 
> > In article <mailman.1036744990.32317.python-list at python.org>, Stano
> > Paska wrote: 
> 
> >> in documentation: string.strip(s[, chars])
> >> but in real life strip takes only 1 parameter
> >> 
> >> I have python 2.2.2
> > 
> > But you've read the documentation for 2.3. (.../doc/current on
> > python.org). 
> 
> Did you check your answer before posting?
> 
> See
> http://www.python.org/doc/2.2.2/lib/module-string.html#l2h-698
 
Ah, but this is the string *module*. The string method page -
<http://www.python.org/doc/2.2.2/lib/string-methods.html> - looks right. In
fact, they both do.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list