Skip to content

Commit a3a9089

Browse files
committed
Use fast item access for tuples.
1 parent 4af0dfa commit a3a9089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/modsupport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ PyObject* PyTruffle_GetArg(positional_argstack* p, PyObject* kwds, char** kwdnam
5454
if (!keywords_only) {
5555
int l = UPCALL_CEXT_I(_jls_PyObject_LEN, native_to_java(p->argv));
5656
if (p->argnum < l) {
57-
out = PyTuple_GetItem(p->argv, p->argnum);
57+
out = PyTuple_GET_ITEM(p->argv, p->argnum);
5858
}
5959
}
6060
if (out == NULL && p->prev == NULL && kwdnames != NULL) { // only the bottom argstack can have keyword names

0 commit comments

Comments
 (0)