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 ethan.furman
Recipients Kiran Kotari, ethan.furman
Date 2015-12-30.02:39:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451443149.74.0.348460854874.issue25979@psf.upfronthosting.co.za>
In-reply-to
Content
lstrip() works by removing any of the characters in its argument, in any order; for example:

'catchy'.lstrip('cat')
# 'hy'

'actchy'.lstrip('tac')
# 'hy'

is stripping, from the left, all 'c's and all 'a's and all 't's -- not just the first three, and order does not matter.

The docs: https://docs.python.org/3/library/stdtypes.html?highlight=lstrip#str.lstrip
History
Date User Action Args
2015-12-30 02:39:09ethan.furmansetrecipients: + ethan.furman, Kiran Kotari
2015-12-30 02:39:09ethan.furmansetmessageid: <1451443149.74.0.348460854874.issue25979@psf.upfronthosting.co.za>
2015-12-30 02:39:09ethan.furmanlinkissue25979 messages
2015-12-30 02:39:09ethan.furmancreate