diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 19:58:28 +0000 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 19:58:28 +0000 |
| commit | db1bad2d70a0c11f3540c172d341edc92ba68c30 (patch) | |
| tree | ca14622b6ddb94498576919f99817781d23f0066 /Lib/reprlib.py | |
| parent | 39a65915076bb9c3719813f9d079925d661cdbd5 (diff) | |
| download | cpython-git-db1bad2d70a0c11f3540c172d341edc92ba68c30.tar.gz | |
Fix bootstrap issues when building without threads
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 c44c75c8b3..7b5c436c39 100644 --- a/Lib/reprlib.py +++ b/Lib/reprlib.py @@ -6,7 +6,7 @@ import builtins from itertools import islice try: from _thread import get_ident -except AttributeError: +except ImportError: from _dummy_thread import get_ident def recursive_repr(fillvalue='...'): |
