[New-bugs-announce] [issue46837] lstrip and strip not working as expected
Jigar Gajjar
report at bugs.python.org
Wed Feb 23 12:38:54 EST 2022
New submission from Jigar Gajjar <jigar030 at gmail.com>:
Code:
my_string = 'Auth:AWS'
print(my_string.lstrip('Auth:'))
Actual Output:
WS
Excepted Output:
AWS
----------
messages: 413831
nosy: jigar030
priority: normal
severity: normal
status: open
title: lstrip and strip not working as expected
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46837>
_______________________________________
More information about the New-bugs-announce
mailing list