Skip to content

Commit 0e6a066

Browse files
authored
Fix PyId_copy typo
1 parent cf2eefd commit 0e6a066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/list_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PyObject *CPyList_Copy(PyObject *list) {
3434
return PyList_GetSlice(list, 0, PyList_GET_SIZE(list));
3535
}
3636
_Py_IDENTIFIER(copy);
37-
return _PyObject_CallMethodIdNoArgs(list, &PyID_copy);
37+
return _PyObject_CallMethodIdNoArgs(list, &PyId_copy);
3838
}
3939

4040
PyObject *CPyList_GetItemUnsafe(PyObject *list, CPyTagged index) {

0 commit comments

Comments
 (0)