diff Python/ast.c @ 75543:fe0b2681a42f 3.2

use correct naming convention
author Benjamin Peterson <benjamin@python.org>
date Mon, 12 Mar 2012 11:00:41 -0700
parents 8ece0dacd8e8
children 5fe780c9638a e00f6b8b83e8
line wrap: on
line diff
--- a/Python/ast.c	Mon Mar 12 09:43:09 2012 -0700
+++ b/Python/ast.c	Mon Mar 12 11:00:41 2012 -0700
@@ -645,7 +645,7 @@
 }
 
 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 @@
                              "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);