comparison Python/Python-ast.c @ 40896:b05790d066b4

Prevent regeneration.
author Thomas Wouters <thomas@python.org>
date Fri, 23 Feb 2007 20:11:29 +0000
parents 0ea24f4f2467
children 6aa1be5dd009
comparison
equal deleted inserted replaced
40895:bd1419e94773 40896:b05790d066b4
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__ 53866. 5 __version__ 53872.
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 */
3123 if (!m) return; 3123 if (!m) return;
3124 d = PyModule_GetDict(m); 3124 d = PyModule_GetDict(m);
3125 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; 3125 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
3126 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 3126 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
3127 return; 3127 return;
3128 if (PyModule_AddStringConstant(m, "__version__", "53866") < 0) 3128 if (PyModule_AddStringConstant(m, "__version__", "53872") < 0)
3129 return; 3129 return;
3130 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; 3130 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
3131 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 3131 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
3132 return; 3132 return;
3133 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) 3133 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type)