This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, mushywushy
Date 2009-08-31.06:58:19
SpamBayes Score 5.7607533e-05
Marked as misclassified No
Message-id <1251701900.85.0.744271429699.issue6809@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-08-31 06:58:21mark.dickinsonsetrecipients: + mark.dickinson, mushywushy
2009-08-31 06:58:20mark.dickinsonsetmessageid: <1251701900.85.0.744271429699.issue6809@psf.upfronthosting.co.za>
2009-08-31 06:58:19mark.dickinsonlinkissue6809 messages
2009-08-31 06:58:19mark.dickinsoncreate