From 2a12974bca2433eea0131d904a423ed8234dcf7a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 30 May 2011 23:02:52 +0200 Subject: Close #12028: Make threading._get_ident() public, rename it to threading.get_ident() and document it. This function was used by _thread.get_ident(). --- Lib/reprlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/reprlib.py') diff --git a/Lib/reprlib.py b/Lib/reprlib.py index f8033604da..092874a18f 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 _thread import get_ident + from threading import get_ident except ImportError: from _dummy_thread import get_ident -- cgit v1.2.1