mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-19 23:09:43 +08:00
add python 3.5 '@' operator to tokenizer
This commit is contained in:
@@ -76,7 +76,7 @@ triple = group("[uUbB]?[rR]?'''", '[uUbB]?[rR]?"""')
|
|||||||
# recognized as two instances of =).
|
# recognized as two instances of =).
|
||||||
operator = group(r"\*\*=?", r">>=?", r"<<=?", r"!=",
|
operator = group(r"\*\*=?", r">>=?", r"<<=?", r"!=",
|
||||||
r"//=?", r"->",
|
r"//=?", r"->",
|
||||||
r"[+\-*/%&|^=<>]=?",
|
r"[+\-*@/%&|^=<>]=?",
|
||||||
r"~")
|
r"~")
|
||||||
|
|
||||||
bracket = '[][(){}]'
|
bracket = '[][(){}]'
|
||||||
|
|||||||
Reference in New Issue
Block a user