Skip to content

Commit 001211c

Browse files
authored
Update p12_sanitizing_clean_up_text.rst
spelling mistakes
1 parent 15c76fb commit 001211c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c02/p12_sanitizing_clean_up_text.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
113113
如果你去测试的话,你就会发现这种方式会比使用 ``translate()`` 或者正则表达式要快很多。
114114

115-
另一方面,如果你需要执行任何复杂字符对字符的重新映射或者删除操作的话, ``tanslate()`` 方法会非常的快。
115+
另一方面,如果你需要执行任何复杂字符对字符的重新映射或者删除操作的话, ``translate()`` 方法会非常的快。
116116

117117
从大的方面来讲,对于你的应用程序来说性能是你不得不去自己研究的东西。
118118
不幸的是,我们不可能给你建议一个特定的技术,使它能够适应所有的情况。

0 commit comments

Comments
 (0)