Skip to content

Commit

Permalink
include OrderedDict import in TimeBoundedLRU example (pythonGH-96962)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Lees authored Sep 22, 2022
1 parent 10e3d39 commit ec40353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Doc/library/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,7 @@ variants of :func:`functools.lru_cache`:

.. testcode::

from collections import OrderedDict
from time import time

class TimeBoundedLRU:
Expand Down

0 comments on commit ec40353

Please sign in to comment.