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).
This commit is contained in:
Brett Cannon 2007-02-12 03:51:02 +00:00
parent d080d4b047
commit 0db62aaf09
3 changed files with 30 additions and 4 deletions

View file

@ -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"