diff options
author | 2011-05-30 23:02:52 +0200 | |
---|---|---|
committer | 2011-05-30 23:02:52 +0200 | |
commit | 2a12974bca2433eea0131d904a423ed8234dcf7a (patch) | |
tree | e238e53c319beb8f913e3411fa91a98504d1743d /Lib/reprlib.py | |
parent | Close #12089: Remove outdated and unused code from regrtest. (diff) | |
download | cpython-2a12974bca2433eea0131d904a423ed8234dcf7a.tar.gz cpython-2a12974bca2433eea0131d904a423ed8234dcf7a.tar.bz2 cpython-2a12974bca2433eea0131d904a423ed8234dcf7a.zip |
Close #12028: Make threading._get_ident() public, rename it to
threading.get_ident() and document it. This function was used by
_thread.get_ident().
Diffstat (limited to 'Lib/reprlib.py')
-rw-r--r-- | Lib/reprlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/reprlib.py b/Lib/reprlib.py index f8033604da2..092874a18fe 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 |