diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-11 16:51:53 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-11 16:51:53 (GMT) |
commit | bb0ad4cfa17a027e0416d6cafdea9387881c5614 (patch) | |
tree | e5d240c4d2519e5150fb6e94dcd7ee1f0dd67b38 /Lib/reprlib.py | |
parent | dc567e42f7f3c22bce09275611dfc1a4a1f7ebde (diff) | |
download | cpython-bb0ad4cfa17a027e0416d6cafdea9387881c5614.zip cpython-bb0ad4cfa17a027e0416d6cafdea9387881c5614.tar.gz cpython-bb0ad4cfa17a027e0416d6cafdea9387881c5614.tar.bz2 |
Avoid pulling threading when _thread is sufficient
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 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 |