mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
remove ast.__version__ (closes #12273)
This commit is contained in:
parent
e720725c12
commit
0bd152cd67
5 changed files with 3 additions and 44 deletions
|
@ -1,14 +1,5 @@
|
|||
/* File automatically generated by Parser/asdl_c.py. */
|
||||
|
||||
|
||||
/*
|
||||
__version__ e0e663132363.
|
||||
|
||||
This module must be committed separately after each AST grammar change;
|
||||
The __version__ number is set to the revision number of the commit
|
||||
containing the grammar change.
|
||||
*/
|
||||
|
||||
#include "Python.h"
|
||||
#include "Python-ast.h"
|
||||
|
||||
|
@ -6750,8 +6741,6 @@ PyInit__ast(void)
|
|||
NULL;
|
||||
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
|
||||
return NULL;
|
||||
if (PyModule_AddStringConstant(m, "__version__", "e0e663132363") < 0)
|
||||
return NULL;
|
||||
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
|
||||
NULL;
|
||||
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue