comparison Python/Python-ast.c @ 37533:a9470eb637f1 legacy-trunk

Regenerate.
author Martin v. Löwis <martin@v.loewis.de>
date Fri, 07 Apr 2006 06:26:31 +0000
parents 16a64e394602
children 2b2e9c388fbb
comparison
equal deleted inserted replaced
37532:1583d3fdddcd 37533:a9470eb637f1
3046 if (!m) return; 3046 if (!m) return;
3047 d = PyModule_GetDict(m); 3047 d = PyModule_GetDict(m);
3048 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; 3048 if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
3049 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) 3049 if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
3050 return; 3050 return;
3051 if (PyModule_AddStringConstant(m, "__version__", "") < 0) 3051 if (PyModule_AddStringConstant(m, "__version__", "43614") < 0)
3052 return; 3052 return;
3053 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; 3053 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
3054 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) 3054 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
3055 return; 3055 return;
3056 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) 3056 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type)