Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec40353

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/library/collections.rst

Lines changed: 1 addition & 0 deletions
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)