mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #18200: Update the stdlib (except tests) to use
ModuleNotFoundError.
This commit is contained in:
parent
9702a17a6a
commit
0a140668fa
83 changed files with 144 additions and 158 deletions
|
|
@ -158,7 +158,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
import readline
|
||||
# remove some common file name delimiters
|
||||
readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?')
|
||||
except ImportError:
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
self.allow_kbdint = False
|
||||
self.nosigint = nosigint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue