[issue3047] string object's lstrip function

Georg Brandl report at bugs.python.org
Fri Jun 6 09:49:35 CEST 2008


Georg Brandl <georg at python.org> added the comment:

What did you expect? Quoting from the docs,

"""The chars argument is not a prefix; rather, all combinations of its
values are stripped:

>>> 'www.example.com'.lstrip('cmowz.')
'example.com'
"""

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3047>
_______________________________________


More information about the Python-bugs-list mailing list