Skip to content

Commit ec40353

Browse files
authored
include OrderedDict import in TimeBoundedLRU example (GH-96962)
1 parent 10e3d39 commit ec40353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/collections.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ variants of :func:`functools.lru_cache`:
12011201

12021202
.. testcode::
12031203

1204+
from collections import OrderedDict
12041205
from time import time
12051206

12061207
class TimeBoundedLRU:

0 commit comments

Comments
 (0)