We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebe5fd commit d198719Copy full SHA for d198719
mypy/typeshed/stdlib/_ctypes.pyi
@@ -95,11 +95,7 @@ class Array(Generic[_CT], _CData):
95
def _type_(self) -> type[_CT]: ...
96
@_type_.setter
97
def _type_(self, value: type[_CT]) -> None: ...
98
- # Note: only available if _CT == c_char
99
- @property
100
- def raw(self) -> bytes: ...
101
- @raw.setter
102
- def raw(self, value: ReadableBuffer) -> None: ...
+ raw: bytes # Note: only available if _CT == c_char
103
value: Any # Note: bytes if _CT == c_char, str if _CT == c_wchar, unavailable otherwise
104
# TODO These methods cannot be annotated correctly at the moment.
105
# All of these "Any"s stand for the array's element type, but it's not possible to use _CT
0 commit comments