[docs] 回复: have a question about "strip"

chinapython at yeah.net chinapython at yeah.net
Sat Jul 6 10:54:03 EDT 2019


hi,all
        sorry,By reading the document, I knew I had made a mistake.I already know how to use it correctly,



chinapython at yeah.net
 
发件人: chinapython at yeah.net
发送时间: 2019-07-06 20:08
收件人: docs
主题: have a question about "strip"
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/79e9c29e/attachment.html>


More information about the docs mailing list