mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
parent
65a12c559c
commit
ac61d58db0
11 changed files with 20 additions and 17 deletions
|
@ -65,7 +65,7 @@ def _maybe_compile(compiler, source, filename, symbol):
|
|||
try:
|
||||
compiler(source + "\n", filename, symbol)
|
||||
return None
|
||||
except IncompleteInputError as e:
|
||||
except _IncompleteInputError as e:
|
||||
return None
|
||||
except SyntaxError as e:
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue