From ec403536f1e4cb8ea3519bea43a5fb230ab374f4 Mon Sep 17 00:00:00 2001 From: Harry Date: Thu, 22 Sep 2022 16:58:19 +0100 Subject: include OrderedDict import in TimeBoundedLRU example (GH-96962) --- Doc/library/collections.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2086383..53b4b69 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -1201,6 +1201,7 @@ variants of :func:`functools.lru_cache`: .. testcode:: + from collections import OrderedDict from time import time class TimeBoundedLRU: -- cgit v0.12