comparison Python/Python-ast.c @ 58230:2cff3bce4096 legacy-trunk

Update the version # of Python-ast.c based on the backport of set literals from r77400.
author Brett Cannon <bcannon@gmail.com>
date Sun, 10 Jan 2010 02:48:50 +0000
parents c2fdf25329ff
children edfed0e32ced
comparison
equal deleted inserted replaced
58229:c2fdf25329ff 58230:2cff3bce4096
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__ 73421. 5 __version__ 77400.
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 */
6357 if (!m) return; 6357 if (!m) return;
6358 d = PyModule_GetDict(m); 6358 d = PyModule_GetDict(m);
6359 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return; 6359 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return;
6360 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 6360 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
6361 return; 6361 return;
6362 if (PyModule_AddStringConstant(m, "__version__", "73421") < 0) 6362 if (PyModule_AddStringConstant(m, "__version__", "77400") < 0)
6363 return; 6363 return;
6364 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; 6364 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
6365 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 6365 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
6366 return; 6366 return;
6367 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) 6367 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type)