Skip to content

Commit 26ab1d8

Browse files
authored
Merge pull request yidao620c#320 from Jock2018/master
Update p03_keep_last_n_items.rst
2 parents 5cb110f + a54a3f9 commit 26ab1d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/c01/p03_keep_last_n_items.rst

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

1617
.. code-block:: python
1718

0 commit comments

Comments
 (0)