Message92104
This is not a bug: the argument to lstrip effectively specifies a set
of characters to be removed; in your example, 'c' is in that set, so
the 'c' at the beginning of city gets removed. 'i' is not in that set,
so it stays.
lstrip(...)
S.lstrip([chars]) -> string or unicode
Return a copy of the string S with leading whitespace removed.
If chars is given and not None, remove characters in chars instead. |
|
Date |
User |
Action |
Args |
2009-08-31 06:58:21 | mark.dickinson | set | recipients:
+ mark.dickinson, mushywushy |
2009-08-31 06:58:20 | mark.dickinson | set | messageid: <1251701900.85.0.744271429699.issue6809@psf.upfronthosting.co.za> |
2009-08-31 06:58:19 | mark.dickinson | link | issue6809 messages |
2009-08-31 06:58:19 | mark.dickinson | create | |
|