Odd strip behavior

Arnaud Delobelle arnodel at gmail.com
Thu Mar 22 21:18:22 CET 2012

On 22 March 2012 20:04, Rodrick Brown <rodrick.brown at gmail.com> wrote:
> On Mar 22, 2012, at 3:53 PM, Arnaud Delobelle <arnodel at gmail.com> wrote:
> Try help(ste.strip)
> It clearly states "if chars is given and not None, remove characters in
> chars instead.
> Does it mean remove only the first occurrence of char? That's the behavior
> I'm seeing.

The key words in the docstring are "leading and trailing"


More information about the Python-list mailing list