Skip to content

Commit 937befa

Browse files
author
Yanpeton
authored
Update p03_keep_last_n_items.rst
1 parent c25b8f6 commit 937befa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c01/p03_keep_last_n_items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
解决方案
1212
----------
1313
保留有限历史记录正是 ``collections.deque`` 大显身手的时候。比如,下面的代码在多行上面做简单的文本匹配,
14-
并返回匹配所在行的前N行
14+
并返回匹配所在行的最后N行
1515

1616
.. code-block:: python
1717

0 commit comments

Comments
 (0)