use correct naming convention
authorBenjamin Peterson <benjamin@python.org>
Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)
committerBenjamin Peterson <benjamin@python.org>
Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)
Python/ast.c

index 6269c649d0be15973268081b1ea51060c4c9d410..d67107c529783f37ad67c0f0142e069dad050e5b 100644 (file)
@@ -645,7 +645,7 @@ seq_for_testlist(struct compiling *c, const node *n)
 }
 
 static arg_ty
-compiler_arg(struct compiling *c, const node *n)
+ast_for_arg(struct compiling *c, const node *n)
 {
     identifier name;
     expr_ty annotation = NULL;
@@ -859,7 +859,7 @@ ast_for_arguments(struct compiling *c, const node *n)
                              "non-default argument follows default argument");
                     return NULL;
                 }
-                arg = compiler_arg(c, ch);
+                arg = ast_for_arg(c, ch);
                 if (!arg)
                     return NULL;
                 asdl_seq_SET(posargs, k++, arg);