Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 50125:26e78942165e 3.0
bump revision number
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 12 Dec 2008 01:33:03 +0000 |
| parents | c7abfab4dcdb |
| children | 87fbbf22adf3 |
comparison
equal
deleted
inserted
replaced
| 50123:20a84e063052 | 50125:26e78942165e |
|---|---|
| 1 /* File automatically generated by Parser/asdl_c.py. */ | 1 /* File automatically generated by Parser/asdl_c.py. */ |
| 2 | 2 |
| 3 | 3 |
| 4 /* | 4 /* |
| 5 __version__ 67616. | 5 __version__ 67644. |
| 6 | 6 |
| 7 This module must be committed separately after each AST grammar change; | 7 This module must be committed separately after each AST grammar change; |
| 8 The __version__ number is set to the revision number of the commit | 8 The __version__ number is set to the revision number of the commit |
| 9 containing the grammar change. | 9 containing the grammar change. |
| 10 */ | 10 */ |
| 6415 d = PyModule_GetDict(m); | 6415 d = PyModule_GetDict(m); |
| 6416 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return | 6416 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return |
| 6417 NULL; | 6417 NULL; |
| 6418 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) | 6418 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) |
| 6419 return NULL; | 6419 return NULL; |
| 6420 if (PyModule_AddStringConstant(m, "__version__", "67616") < 0) | 6420 if (PyModule_AddStringConstant(m, "__version__", "67644") < 0) |
| 6421 return NULL; | 6421 return NULL; |
| 6422 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return | 6422 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return |
| 6423 NULL; | 6423 NULL; |
| 6424 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) | 6424 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) |
| 6425 return NULL; | 6425 return NULL; |
