commit | bb0ad4cfa17a027e0416d6cafdea9387881c5614 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Oct 11 18:51:53 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Oct 11 18:51:53 2011 +0200 |
tree | e5d240c4d2519e5150fb6e94dcd7ee1f0dd67b38 | |
parent | dc567e42f7f3c22bce09275611dfc1a4a1f7ebde [diff] [blame] |
Avoid pulling threading when _thread is sufficient
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 @@ 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