commit | 4ab92c800a6f2b75743d4a0b4dfd9995723f3647 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Apr 10 00:12:47 2014 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Apr 10 00:12:47 2014 -0400 |
tree | fbd1b149e63d8427f7237fb41dd76ec2a863ef11 | |
parent | 0134a35bac4310c07c571e8d7378199783fbb388 [diff] [blame] |
add matrix multiplication operator support to 2to3
diff --git a/Lib/lib2to3/pgen2/tokenize.py b/Lib/lib2to3/pgen2/tokenize.py index 1bb931e..3dd1ee9 100644 --- a/Lib/lib2to3/pgen2/tokenize.py +++ b/Lib/lib2to3/pgen2/tokenize.py
@@ -84,7 +84,7 @@ # recognized as two instances of =). Operator = group(r"\*\*=?", r">>=?", r"<<=?", r"<>", r"!=", r"//=?", r"->", - r"[+\-*/%&|^=<>]=?", + r"[+\-*/%&@|^=<>]=?", r"~") Bracket = '[][(){}]'