summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-02-12 03:51:02 +0000
committerBrett Cannon <bcannon@gmail.com>2007-02-12 03:51:02 +0000
commit8c2153ec27b0fb452b3f3c6343f494f48cc83454 (patch)
treef0c85be47dd655f7f62e5f028885779ddc313706 /Python/Python-ast.c
parentea5aa65604cd891247ae863ee5fe2b8c589cebee (diff)
downloadcpython-8c2153ec27b0fb452b3f3c6343f494f48cc83454.tar.gz
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.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index a02303d53e..46a1817dd7 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"