rstrip

strip error · Issue #143185 · python/cpython https://github.com/python/cpython/issues/143185

 

image

image

 

s = 'bytedance_advertiser'.rstrip('_advertiser')
s1 = 'tencent_advertiser'.rstrip('_advertiser')


 

posted @ 2025-12-26 11:22  papering  阅读(2)  评论(0)    收藏  举报