Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 68428:5f23a6557e36
use only the hex version, since the revno is unreliable across repos
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 13 Mar 2011 16:36:08 -0500 |
| parents | 52940f7f3726 |
| children | 9b11cc4e2918 |
line wrap: on
line diff
--- a/Python/Python-ast.c Sun Mar 13 19:32:21 2011 +0100 +++ b/Python/Python-ast.c Sun Mar 13 16:36:08 2011 -0500 @@ -2,7 +2,7 @@ /* - __version__ 68410:0daa6ba25d9b. + __version__ 0daa6ba25d9b. This module must be committed separately after each AST grammar change; The __version__ number is set to the revision number of the commit @@ -6739,8 +6739,7 @@ NULL; if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) return NULL; - if (PyModule_AddStringConstant(m, "__version__", "68410:0daa6ba25d9b") - < 0) + if (PyModule_AddStringConstant(m, "__version__", "0daa6ba25d9b") < 0) return NULL; if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return NULL;
