mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Disable the parser hacks that enabled the "yield" keyword using a future
statement.
This commit is contained in:
parent
12a6d942d8
commit
c24ea08644
5 changed files with 25 additions and 11 deletions
|
@ -17,7 +17,9 @@ typedef struct {
|
|||
int expected;
|
||||
} perrdetail;
|
||||
|
||||
#if 0
|
||||
#define PyPARSE_YIELD_IS_KEYWORD 0x0001
|
||||
#endif
|
||||
|
||||
extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,
|
||||
perrdetail *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue