diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 06:10:11 +0000 |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 06:10:11 +0000 |
commit | 0048e6eae88cdbc4977ab106914a9de1b4cb0b77 (patch) | |
tree | 93c68f220d55d1dc8ca29663071d6980ff5c53ef /Lib/token.py | |
parent | 82c1e1f053c6028d10dcc61a61dc870c44077e8c (diff) | |
download | cpython-0048e6eae88cdbc4977ab106914a9de1b4cb0b77.tar.gz |
PEP-0318, @decorator-style. In Guido's words:
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728.
Diffstat (limited to 'Lib/token.py')
-rwxr-xr-x | Lib/token.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/token.py b/Lib/token.py index f75412c7a6..c4db6c511a 100755 --- a/Lib/token.py +++ b/Lib/token.py @@ -60,9 +60,10 @@ RIGHTSHIFTEQUAL = 46 DOUBLESTAREQUAL = 47 DOUBLESLASH = 48 DOUBLESLASHEQUAL = 49 -OP = 50 -ERRORTOKEN = 51 -N_TOKENS = 52 +AT = 50 +OP = 51 +ERRORTOKEN = 52 +N_TOKENS = 53 NT_OFFSET = 256 #--end constants-- |