summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-03-12 18:00:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-03-12 18:00:41 (GMT)
commitbc4665ebcb260e937bb50d92270bfcf1d62266dd (patch)
tree2a9205c09244b26f83a4b0834ceb80a2cf198f4f /Python
parentef87f067982dede91aca3d7954b992b860d8a254 (diff)
downloadcpython-bc4665ebcb260e937bb50d92270bfcf1d62266dd.zip
cpython-bc4665ebcb260e937bb50d92270bfcf1d62266dd.tar.gz
cpython-bc4665ebcb260e937bb50d92270bfcf1d62266dd.tar.bz2
use correct naming convention
Diffstat (limited to 'Python')
-rw-r--r--Python/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 6269c64..d67107c 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);