Part of SF patch #1513870 (the still relevant part) -- add reduce() to

functools, and adjust docs etc.
This commit is contained in:
Guido van Rossum 2006-08-26 20:49:04 +00:00
parent 6a2a2a0832
commit 0919a1a07b
11 changed files with 168 additions and 78 deletions

View file

@ -3012,7 +3012,7 @@ init_ast(void)
if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
return;
if (PyModule_AddStringConstant(m, "__version__", "45597") < 0)
if (PyModule_AddStringConstant(m, "__version__", "51600") < 0)
return;
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)