Commit ec5e4911 authored by Benjamin Peterson's avatar Benjamin Peterson

remove dictmaker rule; it's unused

parent b1c78d6a
...@@ -114,7 +114,6 @@ subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop] ...@@ -114,7 +114,6 @@ subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop]
sliceop: ':' [test] sliceop: ':' [test]
exprlist: expr (',' expr)* [','] exprlist: expr (',' expr)* [',']
testlist: test (',' test)* [','] testlist: test (',' test)* [',']
dictmaker: test ':' test (',' test ':' test)* [',']
dictorsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) | dictorsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
(test (comp_for | (',' test)* [','])) ) (test (comp_for | (',' test)* [','])) )
......
...@@ -72,17 +72,16 @@ ...@@ -72,17 +72,16 @@
#define sliceop 325 #define sliceop 325
#define exprlist 326 #define exprlist 326
#define testlist 327 #define testlist 327
#define dictmaker 328 #define dictorsetmaker 328
#define dictorsetmaker 329 #define classdef 329
#define classdef 330 #define arglist 330
#define arglist 331 #define argument 331
#define argument 332 #define list_iter 332
#define list_iter 333 #define list_for 333
#define list_for 334 #define list_if 334
#define list_if 335 #define comp_iter 335
#define comp_iter 336 #define comp_for 336
#define comp_for 337 #define comp_if 337
#define comp_if 338 #define testlist1 338
#define testlist1 339 #define encoding_decl 339
#define encoding_decl 340 #define yield_expr 340
#define yield_expr 341
...@@ -9,6 +9,8 @@ What's New in Python 2.7.2? ...@@ -9,6 +9,8 @@ What's New in Python 2.7.2?
Core and Builtins Core and Builtins
----------------- -----------------
- Issue #10674: Remove unused 'dictmaker' rule from grammar.
- Issue #10596: Fix float.__mod__ to have the same behaviour as - Issue #10596: Fix float.__mod__ to have the same behaviour as
float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be
0.0, not -0.0. 0.0, not -0.0.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment