summaryrefslogtreecommitdiffstats
path: root/Lib/reprlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/reprlib.py')
-rw-r--r--Lib/reprlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/reprlib.py b/Lib/reprlib.py
index 81005f1..f803360 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 ModuleNotFoundError:
+except ImportError:
from _dummy_thread import get_ident
def recursive_repr(fillvalue='...'):