commit | da952f3ff43aad1a4602b1bf6e93fd24f0a159f6 | [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 | d5cda607871a335b01a66c097a15c59778bddaec | |
parent | c177b1cbf354e67f43dab6cf2705aa5a814e6bc0 [diff] [blame] |
add matrix multiplication operator support to 2to3
diff --git a/Lib/lib2to3/pgen2/tokenize.py b/Lib/lib2to3/pgen2/tokenize.py index a2ba96d..4cb2a41 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 = '[][(){}]'