[docs] have a question about "strip"
chinapython at yeah.net
chinapython at yeah.net
Sat Jul 6 08:08:33 EDT 2019
hi.all
I'm robin.come from china,I have a question about "strip":
version:Python 3.7.0
>>> a='ea'
>>> print([a.strip()])
['ea']
>>> print([a.strip('page')])
['']
>>> print([a.strip('ge')])
['a']
is this a bug?
chinapython at yeah.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20190706/4bd81f91/attachment.html>
More information about the docs
mailing list