diff Python/Python-ast.c @ 40824:180d4e899683 legacy-trunk

Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c is specified at the top of the file. Also add a note that Python/Python-ast.c needs to be committed separately after a change to the AST grammar to capture the revision number of the change (which is what __version__ is set to).
author Brett Cannon <bcannon@gmail.com>
date Mon, 12 Feb 2007 03:51:02 +0000
parents 29d65741f6c8
children 0376f13a1af9
line wrap: on
line diff
--- a/Python/Python-ast.c	Sun Feb 11 19:44:41 2007 +0000
+++ b/Python/Python-ast.c	Mon Feb 12 03:51:02 2007 +0000
@@ -1,4 +1,13 @@
-/* File automatically generated by Parser/asdl_c.py */
+/* File automatically generated by Parser/asdl_c.py. */
+
+
+/*
+   __version__ 53731.
+
+   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"