mirror of
https://github.com/python/cpython.git
synced 2026-01-07 07:52:29 +00:00
include OrderedDict import in TimeBoundedLRU example (GH-96962)
This commit is contained in:
parent
10e3d398c3
commit
ec403536f1
1 changed files with 1 additions and 0 deletions
|
|
@ -1201,6 +1201,7 @@ variants of :func:`functools.lru_cache`:
|
|||
|
||||
.. testcode::
|
||||
|
||||
from collections import OrderedDict
|
||||
from time import time
|
||||
|
||||
class TimeBoundedLRU:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue