summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-03-13 16:36:08 -0500
committerBenjamin Peterson <benjamin@python.org>2011-03-13 16:36:08 -0500
commitae66aaa9e45d8e330acc895b04f183995c45016d (patch)
tree5d2f850f926878b20669cef40b261f4822cd3413 /Python/Python-ast.c
parent1b210f99f0714dde10f98433f79d047598b76b01 (diff)
downloadcpython-ae66aaa9e45d8e330acc895b04f183995c45016d.tar.gz
use only the hex version, since the revno is unreliable across repos
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 3150d104eb..6b1ea3cbab 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;