From bb0ad4cfa17a027e0416d6cafdea9387881c5614 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 11 Oct 2011 18:51:53 +0200 Subject: Avoid pulling threading when _thread is sufficient --- Lib/reprlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/reprlib.py b/Lib/reprlib.py index 092874a..f803360 100644 --- a/Lib/reprlib.py +++ b/Lib/reprlib.py @@ -5,7 +5,7 @@ __all__ = ["Repr", "repr", "recursive_repr"] import builtins from itertools import islice try: - from threading import get_ident + from _thread import get_ident except ImportError: from _dummy_thread import get_ident -- cgit v0.12