<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.FoxDiv20190706225140182273 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>hi,all</div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    sorry,</span><span style="background-color: transparent;">By reading the document, I knew I had made a mistake.</span><span style="background-color: transparent;">I already know how to use it correctly,</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>chinapython@yeah.net</div></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:chinapython@yeah.net">chinapython@yeah.net</a></div><div><b>发送时间:</b> 2019-07-06 20:08</div><div><b>收件人:</b> <a href="mailto:docs@python.org">docs</a></div><div><b>主题:</b> have a question about "strip"</div></div></div><div><div class="FoxDiv20190706225140182273">
<div><span></span>hi.all</div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">  </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"> I'm robin.come from china,</span><span style="background-color: transparent;">I </span><span style="background-color: transparent;">have a question about "strip":</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">   version:</span><span style="background-color: transparent;">Python 3.7.0</span></div><div><b><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="background-color: transparent;">>>> a='ea'</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">>>> print([a.strip()])</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">['ea']</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">>>> print([a.strip('page')])</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">['']</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">>>> print([a.strip('ge')])</span></b></div><div><b><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: transparent;">['a']</span></b></div><div><span style="color: rgb(0, 0, 0); font-weight: bold; font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-weight: bold; font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-weight: bold; line-height: 1.5; background-color: rgba(0, 0, 0, 0); font-size: 19px;"> is this a bug?</span></div><div><br></div><div><span style="background-color: transparent;"><br></span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>chinapython@yeah.net</div></div></span></div>
</div></div></blockquote>
</body></html>