Skip to content

Commit 072fa95

Browse files
committed
[GR-37165] AddMember declares minNumOfPositionalArgs = 1.
PullRequest: graalpython/2242
2 parents c312882 + 2c877ea commit 072fa95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/cext/PythonCextBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ static int doBytes(PBytes bytes,
21732173
}
21742174

21752175
// directly called without landing function
2176-
@Builtin(name = "AddMember", takesVarArgs = true, takesVarKeywordArgs = true, declaresExplicitSelf = true)
2176+
@Builtin(name = "AddMember", takesVarArgs = true, takesVarKeywordArgs = true, declaresExplicitSelf = true, minNumOfPositionalArgs = 1)
21772177
@GenerateNodeFactory
21782178
abstract static class AddMemberNode extends PythonVarargsBuiltinNode {
21792179

0 commit comments

Comments
 (0)