From ec403536f1e4cb8ea3519bea43a5fb230ab374f4 Mon Sep 17 00:00:00 2001 From: Harry Date: Thu, 22 Sep 2022 16:58:19 +0100 Subject: [PATCH] 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 20863837fa1b..53b4b69f84b7 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: -- 2.47.3