Christian Heimes <[email protected]> added the comment:
Please read the documentation again. lstrip doesn't work like you assume:
>>> "cbaabcdef".lstrip("abc")
'def'
----------
nosy: +christian.heimes
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com