aboutsummaryrefslogtreecommitdiff
path: root/Include/errcode.h
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-05-04 14:32:18 +0300
committerGitHub <noreply@github.com>2020-05-04 12:32:18 +0100
commit846d8b28ab9bb6197ee81372820311c0abe509c0 (patch)
treebbcdb73b768194661bef017b18aed9e870d98c24 /Include/errcode.h
parente10e7c771bf06112c4a311e0ef6b8af6423b0cca (diff)
downloadcpython3-846d8b28ab9bb6197ee81372820311c0abe509c0.tar.gz
bpo-40246: Revert reporting of invalid string prefixes (GH-19888)
Due to backwards compatibility concerns regarding keywords immediately followed by a string without whitespace between them (like in `bg="#d00" if clear else"#fca"`) will fail to parse, commit 41d5b94af44e34ac05d4cd57460ed104ccf96628 has to be reverted.
Diffstat (limited to 'Include/errcode.h')
-rw-r--r--Include/errcode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/errcode.h b/Include/errcode.h
index 9af8d5c03d..b37cd261d5 100644
--- a/Include/errcode.h
+++ b/Include/errcode.h
@@ -31,7 +31,6 @@ extern "C" {
#define E_LINECONT 25 /* Unexpected characters after a line continuation */
#define E_IDENTIFIER 26 /* Invalid characters in identifier */
#define E_BADSINGLE 27 /* Ill-formed single statement input */
-#define E_BADPREFIX 28 /* Bad string prefixes */
#ifdef __cplusplus
}