diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-03-13 21:36:08 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-03-13 21:36:08 (GMT) |
commit | c9723d09eb1b3faef6cc7e3c083def5e6d3278ae (patch) | |
tree | ae65ed8037e48398a9709f3c33afe84905358753 /Python | |
parent | 0d23189dae7d8629945099b6a7e692afbee41e39 (diff) | |
download | cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.zip cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.tar.gz cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.tar.bz2 |
use only the hex version, since the revno is unreliable across repos
Diffstat (limited to 'Python')
-rw-r--r-- | Python/Python-ast.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 3150d10..6b1ea3c 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -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 @@ PyInit__ast(void) 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; |