mirror of
https://github.com/python/cpython
synced 2026-09-27 03:33:17 +03: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