pmpp <pmpp....@gmail.com> added the comment: lstrip(chars=None, /) method of builtins.str instance Return a copy of the string with leading whitespace removed. If chars is given and not None, remove characters in chars instead.
all L D A / single chars get removed, while there is *any* of them of the left. not the "LDA/" block as you probably expected ---------- nosy: +pmpp _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33362> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com