summaryrefslogtreecommitdiffstats
path: root/Lib/codeop.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-24 18:23:30 (GMT)
committerGitHub <noreply@github.com>2024-06-24 18:23:30 (GMT)
commit447e07ab3d569bb4b2209ccfe3889fafa3ad6693 (patch)
tree4922f90e9fedb0b76f7a222815ae10c6699449d6 /Lib/codeop.py
parenta19a5895b5f8211a85366a1518e9d4f5fb3335c5 (diff)
downloadcpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.zip
cpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.tar.gz
cpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.tar.bz2
[3.13] gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680, GH-120955) (GH-120944)
- gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680) (cherry picked from commit ce1064e4c9bcfd673323ad690e60f86e1ab907bb) - gh-119521: Use `PyAPI_DATA`, not `extern`, for `_PyExc_IncompleteInputError` (GH-120955) (cherry picked from commit ac61d58db0753a3b37de21dbc6e86b38f2a93f1b) Co-authored-by: Pablo Galindo Salgado <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