Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 70301:86fa95c560a6 2.6
Replay changeset 70238:03e488b5c009 from fubar branch. Original commit
message:
Reconcile with the 2.6svn branch. The 2.6.7 release will be made from
Subversion, but there were differences, so this brings them in sync. These
changes should *not* propagate to any newer versions.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Mon, 23 May 2011 15:22:56 -0400 |
| parents | 2b934d466993 |
| children | 9d004a9a2ced |
line wrap: on
line diff
--- a/Python/Python-ast.c Sun May 22 21:16:55 2011 -0400 +++ b/Python/Python-ast.c Mon May 23 15:22:56 2011 -0400 @@ -2,7 +2,7 @@ /* - __version__ 62047. + __version__ . This module must be committed separately after each AST grammar change; The __version__ number is set to the revision number of the commit @@ -6300,7 +6300,7 @@ 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__", "62047") < 0) + if (PyModule_AddStringConstant(m, "__version__", "") < 0) return; if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
