Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 40980:c3b28ba918f8
Commit version bump.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Tue, 27 Feb 2007 20:16:01 +0000 |
| parents | 30e5cb3a55ac |
| children | 19f7ff443718 |
comparison
equal
deleted
inserted
replaced
| 40979:80e861e7fabe | 40980:c3b28ba918f8 |
|---|---|
| 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__ 53956. | 5 __version__ 53986. |
| 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 */ |
| 3036 if (!m) return; | 3036 if (!m) return; |
| 3037 d = PyModule_GetDict(m); | 3037 d = PyModule_GetDict(m); |
| 3038 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; | 3038 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; |
| 3039 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) | 3039 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) |
| 3040 return; | 3040 return; |
| 3041 if (PyModule_AddStringConstant(m, "__version__", "53956") < 0) | 3041 if (PyModule_AddStringConstant(m, "__version__", "53986") < 0) |
| 3042 return; | 3042 return; |
| 3043 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; | 3043 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; |
| 3044 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) | 3044 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) |
| 3045 return; | 3045 return; |
| 3046 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) | 3046 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) |
