Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 41471:3e5fdb93c95a
Check in the inevitable change to the version number.
I'll add this step to PEP 306.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 16 Apr 2007 17:02:00 +0000 |
| parents | 060c79f6d919 |
| children | e16c8e5c5ca4 |
comparison
equal
deleted
inserted
replaced
| 41464:060c79f6d919 | 41471:3e5fdb93c95a |
|---|---|
| 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__ 54428. | 5 __version__ 54835. |
| 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 */ |
| 3101 if (!m) return; | 3101 if (!m) return; |
| 3102 d = PyModule_GetDict(m); | 3102 d = PyModule_GetDict(m); |
| 3103 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; | 3103 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; |
| 3104 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) | 3104 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) |
| 3105 return; | 3105 return; |
| 3106 if (PyModule_AddStringConstant(m, "__version__", "54428") < 0) | 3106 if (PyModule_AddStringConstant(m, "__version__", "54835") < 0) |
| 3107 return; | 3107 return; |
| 3108 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; | 3108 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; |
| 3109 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) | 3109 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) |
| 3110 return; | 3110 return; |
| 3111 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) | 3111 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) |
