mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
remove ast.__version__ (closes #12273)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user