mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
convert ast versioning to mercurial
This commit is contained in:
parent
540fcd7287
commit
6cb2b923e0
6 changed files with 31 additions and 26 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
/*
|
||||
__version__ 82163.
|
||||
__version__ 68409:c017695acf19.
|
||||
|
||||
This module must be committed separately after each AST grammar change;
|
||||
The __version__ number is set to the revision number of the commit
|
||||
|
@ -6739,7 +6739,8 @@ PyInit__ast(void)
|
|||
NULL;
|
||||
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
||||
return NULL;
|
||||
if (PyModule_AddStringConstant(m, "__version__", "82163") < 0)
|
||||
if (PyModule_AddStringConstant(m, "__version__", "68409:c017695acf19")
|
||||
< 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