Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 70500:b8c2db47a562
bump ast version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 29 May 2011 11:45:29 -0500 |
| parents | e0e663132363 |
| children | b23ad0a6cf87 |
comparison
equal
deleted
inserted
replaced
| 70499:e0e663132363 | 70500:b8c2db47a562 |
|---|---|
| 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__ 9b11cc4e2918. | 5 __version__ e0e663132363. |
| 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 */ |
| 6748 d = PyModule_GetDict(m); | 6748 d = PyModule_GetDict(m); |
| 6749 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return | 6749 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return |
| 6750 NULL; | 6750 NULL; |
| 6751 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) | 6751 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) |
| 6752 return NULL; | 6752 return NULL; |
| 6753 if (PyModule_AddStringConstant(m, "__version__", "9b11cc4e2918") < 0) | 6753 if (PyModule_AddStringConstant(m, "__version__", "e0e663132363") < 0) |
| 6754 return NULL; | 6754 return NULL; |
| 6755 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return | 6755 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return |
| 6756 NULL; | 6756 NULL; |
| 6757 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) | 6757 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) |
| 6758 return NULL; | 6758 return NULL; |
