Backed out changeset 521232b05b97

This commit is contained in:
Benjamin Peterson 2013-03-20 00:39:41 -05:00
parent c6dc12484b
commit 605a774a98
3 changed files with 243 additions and 267 deletions

View file

@ -24,8 +24,7 @@ decorators: decorator+
decorated: decorators (classdef | funcdef)
funcdef: 'def' NAME parameters ['->' test] ':' suite
parameters: '(' [typedargslist] ')'
typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])*
[',' '/' (',' tfpdef ['=' test])*] [','
typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])* [','
['*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef]]
| '*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef)
tfpdef: NAME [':' test]

File diff suppressed because it is too large Load diff

View file

@ -803,7 +803,7 @@ r_object(RFILE *p)
/* NULL is a valid return value, it does not necessarily means that
an exception is set. */
PyObject *v, *v2;
Py_ssize_t idx = 0;
Py_ssize_t idx;
long i, n;
int type = r_byte(p);
int flag;