Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22051 > unrolled thread

Re: Odd strip behavior

Started byArnaud Delobelle <arnodel@gmail.com>
First post2012-03-22 20:18 +0000
Last post2012-03-22 20:18 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Odd strip behavior Arnaud Delobelle <arnodel@gmail.com> - 2012-03-22 20:18 +0000

#22051 — Re: Odd strip behavior

FromArnaud Delobelle <arnodel@gmail.com>
Date2012-03-22 20:18 +0000
SubjectRe: Odd strip behavior
Message-ID<mailman.910.1332447504.3037.python-list@python.org>
On 22 March 2012 20:04, Rodrick Brown <rodrick.brown@gmail.com> wrote:
>
> On Mar 22, 2012, at 3:53 PM, Arnaud Delobelle <arnodel@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"

-- 
Arnaud

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web