
Jan. 13, 2025
3:26 a.m.
https://docs.python.org/3/library/ctypes.html In example after the text "Here is an example of a somewhat artificial data type, a structure containing 4 POINTs among other stuff:", the _fields_ line appears to be missing [, ] around list elements
class POINT(Structure): ... _fields_ = ("x", c_int), ("y", c_int)