comparison Python/Python-ast.c @ 68412:0daa6ba25d9b

convert ast versioning to mercurial
author Benjamin Peterson <benjamin@python.org>
date Sat, 12 Mar 2011 18:28:16 -0600
parents 3c9232a684ae
children 52940f7f3726
comparison
equal deleted inserted replaced
68407:6392261cdb74 68412:0daa6ba25d9b
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__ 82163. 5 __version__ 68409:c017695acf19.
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 */
6737 d = PyModule_GetDict(m); 6737 d = PyModule_GetDict(m);
6738 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return 6738 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return
6739 NULL; 6739 NULL;
6740 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 6740 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
6741 return NULL; 6741 return NULL;
6742 if (PyModule_AddStringConstant(m, "__version__", "82163") < 0) 6742 if (PyModule_AddStringConstant(m, "__version__", "68409:c017695acf19")
6743 < 0)
6743 return NULL; 6744 return NULL;
6744 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return 6745 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
6745 NULL; 6746 NULL;
6746 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 6747 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
6747 return NULL; 6748 return NULL;