From: Benjamin Peterson Date: Mon, 12 Mar 2012 18:00:41 +0000 (-0700) Subject: use correct naming convention X-Git-Tag: v3.3.0a2~234^2~13^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc4665ebcb260e937bb50d92270bfcf1d62266dd;p=thirdparty%2FPython%2Fcpython.git use correct naming convention --- diff --git a/Python/ast.c b/Python/ast.c index 6269c649d0be..d67107c52978 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -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);