mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
hardcode the old svn __version__
This commit is contained in:
parent
2193d2b72b
commit
efad2449fc
2 changed files with 5 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
/*
|
||||
__version__ .
|
||||
__version__ 82163.
|
||||
|
||||
This module must be committed separately after each AST grammar change;
|
||||
The __version__ number is set to the revision number of the commit
|
||||
|
@ -6756,7 +6756,7 @@ PyInit__ast(void)
|
|||
NULL;
|
||||
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
||||
return NULL;
|
||||
if (PyModule_AddStringConstant(m, "__version__", "") < 0)
|
||||
if (PyModule_AddStringConstant(m, "__version__", "82163") < 0)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
|
||||
NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue