Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc4665e

Browse files
committed
use correct naming convention
1 parent ef87f06 commit bc4665e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/ast.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ seq_for_testlist(struct compiling *c, const node *n)
645645
}
646646

647647
static arg_ty
648-
compiler_arg(struct compiling *c, const node *n)
648+
ast_for_arg(struct compiling *c, const node *n)
649649
{
650650
identifier name;
651651
expr_ty annotation = NULL;
@@ -859,7 +859,7 @@ ast_for_arguments(struct compiling *c, const node *n)
859859
"non-default argument follows default argument");
860860
return NULL;
861861
}
862-
arg = compiler_arg(c, ch);
862+
arg = ast_for_arg(c, ch);
863863
if (!arg)
864864
return NULL;
865865
asdl_seq_SET(posargs, k++, arg);

0 commit comments

Comments
 (0)