mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033)
This commit is contained in:
@@ -1603,9 +1603,6 @@ err_input(perrdetail *err)
|
||||
msg = "unexpected character after line continuation character";
|
||||
break;
|
||||
|
||||
case E_IDENTIFIER:
|
||||
msg = "invalid character in identifier";
|
||||
break;
|
||||
case E_BADSINGLE:
|
||||
msg = "multiple statements found while compiling a single statement";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user