From 74ea6b5a7501fb393cd567fb21998d0bfeeb267c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 12 May 2020 12:42:04 +0300 Subject: bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) --- Python/pythonrun.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 1b79a33c81..45f08b707e 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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; -- cgit v1.2.1