Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 62445:f78fcb1b23f5 legacy-trunk
bump revision
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 22 Jun 2010 19:49:47 +0000 |
| parents | 5bf7336ea0aa |
| children | b36cb4602e21 |
comparison
equal
deleted
inserted
replaced
| 62444:18635cbd66e0 | 62445:f78fcb1b23f5 |
|---|---|
| 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__ 77422. | 5 __version__ 82160. |
| 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 */ |
| 6568 if (!m) return; | 6568 if (!m) return; |
| 6569 d = PyModule_GetDict(m); | 6569 d = PyModule_GetDict(m); |
| 6570 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return; | 6570 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return; |
| 6571 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) | 6571 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) |
| 6572 return; | 6572 return; |
| 6573 if (PyModule_AddStringConstant(m, "__version__", "77422") < 0) | 6573 if (PyModule_AddStringConstant(m, "__version__", "82160") < 0) |
| 6574 return; | 6574 return; |
| 6575 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; | 6575 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; |
| 6576 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) | 6576 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) |
| 6577 return; | 6577 return; |
| 6578 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) | 6578 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) |
