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
07f54515
Commit
07f54515
authored
Dec 11, 2010
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dictmaker rule; it's unused
parent
be0f4f3d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
203 additions
and
230 deletions
+203
-230
Grammar/Grammar
Grammar/Grammar
+0
-1
Include/graminit.h
Include/graminit.h
+13
-14
Misc/NEWS
Misc/NEWS
+2
-0
Python/graminit.c
Python/graminit.c
+188
-215
No files found.
Grammar/Grammar
View file @
07f54515
...
...
@@ -114,7 +114,6 @@ subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop]
sliceop: ':' [test]
exprlist: expr (',' expr)* [',']
testlist: test (',' test)* [',']
dictmaker: test ':' test (',' test ':' test)* [',']
dictorsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
(test (comp_for | (',' test)* [','])) )
...
...
Include/graminit.h
View file @
07f54515
...
...
@@ -72,17 +72,16 @@
#define sliceop 325
#define exprlist 326
#define testlist 327
#define dictmaker 328
#define dictorsetmaker 329
#define classdef 330
#define arglist 331
#define argument 332
#define list_iter 333
#define list_for 334
#define list_if 335
#define comp_iter 336
#define comp_for 337
#define comp_if 338
#define testlist1 339
#define encoding_decl 340
#define yield_expr 341
#define dictorsetmaker 328
#define classdef 329
#define arglist 330
#define argument 331
#define list_iter 332
#define list_for 333
#define list_if 334
#define comp_iter 335
#define comp_for 336
#define comp_if 337
#define testlist1 338
#define encoding_decl 339
#define yield_expr 340
Misc/NEWS
View file @
07f54515
...
...
@@ -9,6 +9,8 @@ What's New in Python 2.7.2?
Core and Builtins
-----------------
- Issue #10674: Remove unused 'dictmaker' rule from grammar.
- Issue #10596: Fix float.__mod__ to have the same behaviour as
float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be
0.0, not -0.0.
...
...
Python/graminit.c
View file @
07f54515
This diff is collapsed.
Click to expand it.
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