comparison Python/Python-ast.c @ 55311:36a7e96e90fb

update ast version
author Benjamin Peterson <benjamin@python.org>
date Fri, 17 Jul 2009 19:11:02 +0000
parents 0704f15b4682
children d8c5e38515b6
comparison
equal deleted inserted replaced
55310:8aa80b715c51 55311:36a7e96e90fb
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__ 67616. 5 __version__ 73626.
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 */
6409 d = PyModule_GetDict(m); 6409 d = PyModule_GetDict(m);
6410 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return 6410 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return
6411 NULL; 6411 NULL;
6412 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 6412 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
6413 return NULL; 6413 return NULL;
6414 if (PyModule_AddStringConstant(m, "__version__", "67616") < 0) 6414 if (PyModule_AddStringConstant(m, "__version__", "73626") < 0)
6415 return NULL; 6415 return NULL;
6416 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return 6416 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
6417 NULL; 6417 NULL;
6418 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 6418 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
6419 return NULL; 6419 return NULL;