This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, wsqat
Date 2020-11-18.10:17:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The methods works as designed and documented. The arguments to str.strip, lstrip, and rstrip methods are not prefixes / suffixes. They are sets of characters.

>>> "bad".lstrip("ab")
Date User Action Args
2020-11-18 10:17:12christian.heimessetrecipients: + christian.heimes, wsqat
2020-11-18 10:17:12christian.heimessetmessageid: <>
2020-11-18 10:17:12christian.heimeslinkissue42397 messages
2020-11-18 10:17:12christian.heimescreate