New submission from Clayton Bingham <clayton.bing...@gmail.com>:
Code to reproduce the behavior: ``` string = 'h.pt3dadd(3333.994527806812,7310.741605031661,-152.492,0.2815384615384615,sec=sectionList[1396])\n' print(string.lstrip('h.pt3dadd(').split(',')) ``` The lstrip method removed 'h.pt3dadd(' but also removes the 3's before the first decimal in the remaining string. ---------- messages: 363555 nosy: Clayton Bingham priority: normal severity: normal status: open title: string.lstrip() with leading '3's versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com