summaryrefslogtreecommitdiffstats
path: root/Lib/codeop.py
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2024-06-24 12:08:12 (GMT)
committerGitHub <noreply@github.com>2024-06-24 12:08:12 (GMT)
commitac61d58db0753a3b37de21dbc6e86b38f2a93f1b (patch)
tree72db14d0ec67eddbf47f8bed8bfd59c9e3ed586d /Lib/codeop.py
parent65a12c559cbc13c2c5a4aa65c76310bd8d2051a7 (diff)
downloadcpython-ac61d58db0753a3b37de21dbc6e86b38f2a93f1b.zip
cpython-ac61d58db0753a3b37de21dbc6e86b38f2a93f1b.tar.gz
cpython-ac61d58db0753a3b37de21dbc6e86b38f2a93f1b.tar.bz2
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>
Diffstat (limited to 'Lib/codeop.py')
-rw-r--r--Lib/codeop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/codeop.py b/Lib/codeop.py
index 6ad60e7..a0276b5 100644
--- a/Lib/codeop.py
+++ b/Lib/codeop.py
@@ -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