Skip to content

Commit 2c877ea

Browse files
committed
AddMember declares minNumOfPositionalArgs = 1
1 parent 31f43bc commit 2c877ea

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
@@ -2162,7 +2162,7 @@ static int doBytes(PBytes bytes,
21622162
}
21632163

21642164
// directly called without landing function
2165-
@Builtin(name = "AddMember", takesVarArgs = true, takesVarKeywordArgs = true, declaresExplicitSelf = true)
2165+
@Builtin(name = "AddMember", takesVarArgs = true, takesVarKeywordArgs = true, declaresExplicitSelf = true, minNumOfPositionalArgs = 1)
21662166
@GenerateNodeFactory
21672167
abstract static class AddMemberNode extends PythonVarargsBuiltinNode {
21682168

0 commit comments

Comments
 (0)