[Python-checkins] python/dist/src/Python ast.c,2.3,2.4
nascheme@users.sourceforge.net
nascheme at users.sourceforge.net
Sun Oct 23 05:38:23 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21829/Python
Modified Files:
ast.c
Log Message:
Add an assert.
Index: ast.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ast.c,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -d -r2.3 -r2.4
--- ast.c 21 Oct 2005 12:57:31 -0000 2.3
+++ ast.c 23 Oct 2005 03:38:19 -0000 2.4
@@ -2178,6 +2178,7 @@
n = CHILD(n, 0);
if (STR(CHILD(n, 0))[0] == 'i') { /* import */
n = CHILD(n, 1);
+ REQ(n, dotted_as_names);
aliases = asdl_seq_new((NCH(n) + 1) / 2);
if (!aliases)
return NULL;
More information about the Python-checkins
mailing list