8000 Pass NULL instead of None as arg to METHNOARGS functions · oracle/graalpython@10573cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 10573cb

Browse files
timfelelkorchi
authored andcommitted
Pass NULL instead of None as arg to METHNOARGS functions
(cherry picked from commit 935e46a)
1 parent 57f0285 commit 10573cb

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/objects/cext/capi/ExternalFunctionNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ public MethNoargsRoot(PythonLanguage language, TruffleString name, boolean isSta
13091309

13101310
@Override
13111311
protected Object[] prepareCArguments(VirtualFrame frame) {
1312-
return new Object[]{readSelf(frame), PNone.NONE};
1312+
return new Object[]{readSelf(frame), PNone.NO_VALUE};
13131313
}
13141314

13151315
@Override

0 commit comments

Comments
 (0)
0