mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 22:11:54 +08:00
* Allow only _CData subclasses as ctypes.Array elements * Change type of ctypes.Array.raw and .value to Any (Closes #2111) .raw and .value don't exist on all arrays. On c_char arrays, both exist and have type bytes; on c_wchar arrays, only .value exists and has type Text; on all other arrays neither one exists. This is impossible to describe properly in a stub, so marking .value as Any is the best that can be done.