[issue39880] string.lstrip() with leading '3's

László Kiss Kollár report at bugs.python.org
Fri Mar 6 16:36:39 EST 2020


László Kiss Kollár <kiss.kollar.laszlo at gmail.com> added the comment:

The argument in lstrip() is a set of characters which are stripped from the string and not a full substring. As the documentation states: "The chars argument is not a prefix; rather, all combinations of its values are stripped" See https://docs.python.org/3/library/stdtypes.html#str.lstrip.

----------
nosy: +lkollar

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39880>
_______________________________________


More information about the Python-bugs-list mailing list