New submission from Jigar Gajjar <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue46837>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com