Skip to content

Commit 60a02a3

Browse files
Fix comment for _replace_array_elements
1 parent 5dc9c7a commit 60a02a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_ctypes/stgdict.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ PyCStructUnionType_update_stginfo(PyObject *type, PyObject *fields, int isStruct
478478
}
479479

480480
/*
481-
Copy array elements to stginfo->ffi_type_pointer.elements. Return -1 if error
482-
occured.
481+
Replace array elements at stginfo->ffi_type_pointer.elements.
482+
Return -1 if error occured.
483483
*/
484484
int
485485
_replace_array_elements(ctypes_state *st, PyObject *layout_fields,

0 commit comments

Comments
 (0)