commit | c150536b5efadf71fcb4187cad7258be7268e157 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Dec 28 06:47:50 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Dec 28 06:47:50 2006 +0000 |
tree | aeb17f5e0ecc6cc8ccdecb2b64e3f46a0a3af85c | |
parent | f6657e67b3cf89649d14d9012b3964a3490d45b0 [diff] [blame] |
PEP 3107 - Function Annotations thanks to Tony Lownds
diff --git a/Lib/tokenize.py b/Lib/tokenize.py index 1253822..152bfdb 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py
@@ -78,7 +78,7 @@ # longest operators first (e.g., if = came before ==, == would get # recognized as two instances of =). Operator = group(r"\*\*=?", r">>=?", r"<<=?", r"!=", - r"//=?", + r"//=?", r"->", r"[+\-*/%&|^=<>]=?", r"~")