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.
1 parent c25b8f6 commit 937befaCopy full SHA for 937befa
source/c01/p03_keep_last_n_items.rst
@@ -11,7 +11,7 @@
11
解决方案
12
----------
13
保留有限历史记录正是 ``collections.deque`` 大显身手的时候。比如,下面的代码在多行上面做简单的文本匹配,
14
-并返回匹配所在行的前N行:
+并返回匹配所在行的最后N行:
15
16
.. code-block:: python
17
0 commit comments