mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +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
|
@ -83,7 +83,7 @@ Operator = group(r"\*\*=?", r">>=?", r"<<=?", r"!=",
|
|||
r"~")
|
||||
|
||||
Bracket = '[][(){}]'
|
||||
Special = group(r'\r?\n', r'[:;.,`@]')
|
||||
Special = group(r'\r?\n', r'[:;.,@]')
|
||||
Funny = group(Operator, Bracket, Special)
|
||||
|
||||
PlainToken = group(Number, Funny, String, Name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue