mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-28 09:25:33 +08:00
232b7c5147
* 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.