diff Python/Python-ast.c @ 71375:b23ad0a6cf87

remove ast.__version__ (closes #12273)
author Benjamin Peterson <benjamin@python.org>
date Fri, 15 Jul 2011 21:10:13 -0500
parents b8c2db47a562
children 75d56cf3020c
line wrap: on
line diff
--- a/Python/Python-ast.c	Fri Jul 15 15:27:58 2011 -0500
+++ b/Python/Python-ast.c	Fri Jul 15 21:10:13 2011 -0500
@@ -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 @@
             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)