Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
34052622
Commit
34052622
authored
Aug 24, 2000
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for augmented assignment.
parent
104a7bcc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
54 deletions
+66
-54
Lib/symbol.py
Lib/symbol.py
+52
-51
Lib/token.py
Lib/token.py
+14
-3
No files found.
Lib/symbol.py
View file @
34052622
...
...
@@ -22,57 +22,58 @@ stmt = 264
simple_stmt
=
265
small_stmt
=
266
expr_stmt
=
267
print_stmt
=
268
del_stmt
=
269
pass_stmt
=
270
flow_stmt
=
271
break_stmt
=
272
continue_stmt
=
273
return_stmt
=
274
raise_stmt
=
275
import_stmt
=
276
import_as_name
=
277
dotted_as_name
=
278
dotted_name
=
279
global_stmt
=
280
exec_stmt
=
281
assert_stmt
=
282
compound_stmt
=
283
if_stmt
=
284
while_stmt
=
285
for_stmt
=
286
try_stmt
=
287
except_clause
=
288
suite
=
289
test
=
290
and_test
=
291
not_test
=
292
comparison
=
293
comp_op
=
294
expr
=
295
xor_expr
=
296
and_expr
=
297
shift_expr
=
298
arith_expr
=
299
term
=
300
factor
=
301
power
=
302
atom
=
303
listmaker
=
304
lambdef
=
305
trailer
=
306
subscriptlist
=
307
subscript
=
308
sliceop
=
309
exprlist
=
310
testlist
=
311
dictmaker
=
312
classdef
=
313
arglist
=
314
argument
=
315
list_iter
=
316
list_for
=
317
list_if
=
318
augassign
=
268
print_stmt
=
269
del_stmt
=
270
pass_stmt
=
271
flow_stmt
=
272
break_stmt
=
273
continue_stmt
=
274
return_stmt
=
275
raise_stmt
=
276
import_stmt
=
277
import_as_name
=
278
dotted_as_name
=
279
dotted_name
=
280
global_stmt
=
281
exec_stmt
=
282
assert_stmt
=
283
compound_stmt
=
284
if_stmt
=
285
while_stmt
=
286
for_stmt
=
287
try_stmt
=
288
except_clause
=
289
suite
=
290
test
=
291
and_test
=
292
not_test
=
293
comparison
=
294
comp_op
=
295
expr
=
296
xor_expr
=
297
and_expr
=
298
shift_expr
=
299
arith_expr
=
300
term
=
301
factor
=
302
power
=
303
atom
=
304
listmaker
=
305
lambdef
=
306
trailer
=
307
subscriptlist
=
308
subscript
=
309
sliceop
=
310
exprlist
=
311
testlist
=
312
dictmaker
=
313
classdef
=
314
arglist
=
315
argument
=
316
list_iter
=
317
list_for
=
318
list_if
=
319
#--end constants--
sym_name
=
{}
...
...
Lib/token.py
View file @
34052622
...
...
@@ -47,9 +47,20 @@ CIRCUMFLEX = 33
LEFTSHIFT
=
34
RIGHTSHIFT
=
35
DOUBLESTAR
=
36
OP
=
37
ERRORTOKEN
=
38
N_TOKENS
=
39
PLUSEQUAL
=
37
MINEQUAL
=
38
STAREQUAL
=
39
SLASHEQUAL
=
40
PERCENTEQUAL
=
41
AMPEREQUAL
=
42
VBAREQUAL
=
43
CIRCUMFLEXEQUAL
=
44
LEFTSHIFTEQUAL
=
45
RIGHTSHIFTEQUAL
=
46
DOUBLESTAREQUAL
=
47
OP
=
48
ERRORTOKEN
=
49
N_TOKENS
=
50
NT_OFFSET
=
256
#--end constants--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment