diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-12 03:51:02 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-12 03:51:02 (GMT) |
commit | 0db62aaf0987db16fc36d3331786168a70ccda8b (patch) | |
tree | 3ee770aec1fa6b83be80f500dad8c488d779804c /Python/Python-ast.c | |
parent | d080d4b0470aa9d7cbcf44378f1d8c88c5460d09 (diff) | |
download | cpython-0db62aaf0987db16fc36d3331786168a70ccda8b.zip cpython-0db62aaf0987db16fc36d3331786168a70ccda8b.tar.gz cpython-0db62aaf0987db16fc36d3331786168a70ccda8b.tar.bz2 |
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).
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index a02303d..46a1817 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -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" |