mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Update version information for AST changes in r77422.
This commit is contained in:
parent
b646547bb4
commit
102d70e06c
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
__version__ 77400.
|
__version__ 77422.
|
||||||
|
|
||||||
This module must be committed separately after each AST grammar change;
|
This module must be committed separately after each AST grammar change;
|
||||||
The __version__ number is set to the revision number of the commit
|
The __version__ number is set to the revision number of the commit
|
||||||
|
@ -6569,7 +6569,7 @@ init_ast(void)
|
||||||
if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return;
|
if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return;
|
||||||
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
||||||
return;
|
return;
|
||||||
if (PyModule_AddStringConstant(m, "__version__", "77400") < 0)
|
if (PyModule_AddStringConstant(m, "__version__", "77422") < 0)
|
||||||
return;
|
return;
|
||||||
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
|
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
|
||||||
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
|
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue