Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
diff --git a/Lib/pdb.py b/Lib/pdb.py
index d964f98..e5596e5 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -158,7 +158,7 @@
             import readline
             # remove some common file name delimiters
             readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?')
-        except ModuleNotFoundError:
+        except ImportError:
             pass
         self.allow_kbdint = False
         self.nosigint = nosigint