mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Remove support for backticks from the grammar and compiler.
Still need to remove traces of the UNARY_CONVERT opcode.
This commit is contained in:
parent
8b6de130c6
commit
cf588f6448
7 changed files with 86 additions and 154 deletions
|
@ -67,7 +67,6 @@ char *_PyParser_TokenNames[] = {
|
|||
"EQUAL",
|
||||
"DOT",
|
||||
"PERCENT",
|
||||
"BACKQUOTE",
|
||||
"LBRACE",
|
||||
"RBRACE",
|
||||
"EQEQUAL",
|
||||
|
@ -955,7 +954,6 @@ PyToken_OneChar(int c)
|
|||
case '=': return EQUAL;
|
||||
case '.': return DOT;
|
||||
case '%': return PERCENT;
|
||||
case '`': return BACKQUOTE;
|
||||
case '{': return LBRACE;
|
||||
case '}': return RBRACE;
|
||||
case '^': return CIRCUMFLEX;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue