We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18027ad + b0646e8 commit 49afd42Copy full SHA for 49afd42
source/c02/p11_strip_unwanted_characters.rst
@@ -49,7 +49,7 @@
49
>>> s = ' hello world \n'
50
>>> s = s.strip()
51
>>> s
52
- 'hello world'
+ 'hello world'
53
>>>
54
55
如果你想处理中间的空格,那么你需要求助其他技术。比如使用 ``replace()`` 方法或者是用正则表达式替换。示例如下:
0 commit comments