comparison Python/Python-ast.c @ 70439:69d4938382c1

bump ast version
author Benjamin Peterson <benjamin@python.org>
date Fri, 27 May 2011 14:01:01 -0500
parents 9b11cc4e2918
children e0e663132363
comparison
equal deleted inserted replaced
70438:9b11cc4e2918 70439:69d4938382c1
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__ 0daa6ba25d9b. 5 __version__ 9b11cc4e2918.
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 */
6816 d = PyModule_GetDict(m); 6816 d = PyModule_GetDict(m);
6817 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return 6817 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return
6818 NULL; 6818 NULL;
6819 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 6819 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
6820 return NULL; 6820 return NULL;
6821 if (PyModule_AddStringConstant(m, "__version__", "0daa6ba25d9b") < 0) 6821 if (PyModule_AddStringConstant(m, "__version__", "9b11cc4e2918") < 0)
6822 return NULL; 6822 return NULL;
6823 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return 6823 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
6824 NULL; 6824 NULL;
6825 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 6825 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
6826 return NULL; 6826 return NULL;