commit | 2a12974bca2433eea0131d904a423ed8234dcf7a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 30 23:02:52 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 30 23:02:52 2011 +0200 |
tree | e238e53c319beb8f913e3411fa91a98504d1743d | |
parent | d976098e3bb53b9c52d55a303e1389a102ed8bae [diff] [blame] |
Close #12028: Make threading._get_ident() public, rename it to threading.get_ident() and document it. This function was used by _thread.get_ident().
diff --git a/Lib/reprlib.py b/Lib/reprlib.py index f803360..092874a 100644 --- a/Lib/reprlib.py +++ b/Lib/reprlib.py
@@ -5,7 +5,7 @@ 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