Thanks to visit codestin.com Credit goes to github.com
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 bb244d3 commit e571017Copy full SHA for e571017
1 file changed
stubs/cffi/_cffi_backend.pyi
@@ -34,7 +34,7 @@ class CField:
34
35
@final
36
class CLibrary:
37
- def close_lib(self, *args, **kwargs): ...
+ def close_lib(self) -> None: ...
38
def load_function(self, *args, **kwargs): ...
39
def read_variable(self, *args, **kwargs): ...
40
def write_variable(self, *args, **kwargs): ...
@@ -204,7 +204,7 @@ class FFI:
204
def release(self, cdata: CData, /) -> None: ...
205
def sizeof(self, cdecl: str | CType | CData, /) -> int: ...
206
def string(self, cdata: CData, maxlen: int = -1) -> bytes | str: ...
207
- def typeof(self, cdecl: str | CData) -> CType: ...
+ def typeof(self, cdecl: str | CData, /) -> CType: ...
208
def unpack(self, cdata: CData, length: int) -> bytes | str | list[Any]: ...
209
210
def alignof(cdecl: CType, /) -> int: ...
0 commit comments