comparison Python/Python-ast.c @ 41227:5e24f636ac75

Update the silly version number.
author Guido van Rossum <guido@python.org>
date Sun, 18 Mar 2007 16:10:35 +0000
parents 19f7ff443718
children 060c79f6d919
comparison
equal deleted inserted replaced
41226:19f7ff443718 41227:5e24f636ac75
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__ 53986. 5 __version__ 54428.
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 */
3058 if (!m) return; 3058 if (!m) return;
3059 d = PyModule_GetDict(m); 3059 d = PyModule_GetDict(m);
3060 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; 3060 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
3061 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 3061 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
3062 return; 3062 return;
3063 if (PyModule_AddStringConstant(m, "__version__", "53986") < 0) 3063 if (PyModule_AddStringConstant(m, "__version__", "54428") < 0)
3064 return; 3064 return;
3065 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; 3065 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
3066 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 3066 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
3067 return; 3067 return;
3068 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) 3068 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type)