mirror of
https://github.com/python/cpython
synced 2024-09-15 22:58:09 +00:00
include OrderedDict import in TimeBoundedLRU example (GH-96962)
This commit is contained in:
parent
10e3d398c3
commit
ec403536f1
|
@ -1201,6 +1201,7 @@ variants of :func:`functools.lru_cache`:
|
|||
|
||||
.. testcode::
|
||||
|
||||
from collections import OrderedDict
|
||||
from time import time
|
||||
|
||||
class TimeBoundedLRU:
|
||||
|
|
Loading…
Reference in a new issue