[Python-checkins] cpython (3.2): use correct naming convention
benjamin.peterson
python-checkins at python.org
Mon Mar 12 19:18:56 CET 2012
http://hg.python.org/cpython/rev/fe0b2681a42f
changeset: 75543:fe0b2681a42f
branch: 3.2
parent: 75540:5ed1a3f19ac6
user: Benjamin Peterson <benjamin at python.org>
date: Mon Mar 12 11:00:41 2012 -0700
summary:
use correct naming convention
files:
Python/ast.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Python/ast.c b/Python/ast.c
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -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);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list