Skip to content

Commit 0c4dc55

Browse files
aochagaviasrittau
andauthored
Update stubs/cffi/cffi/api.pyi
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
1 parent 21b03c5 commit 0c4dc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/cffi/cffi/api.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FFI:
4343
free: Callable[[CData], Any] | None = None,
4444
should_clear_after_alloc: bool = True,
4545
) -> _cffi_backend._Allocator: ...
46-
def cast(self, cdecl: str | CType, source: CData | int | float) -> CData: ...
46+
def cast(self, cdecl: str | CType, source: CData | float) -> CData: ...
4747
def string(self, cdata: CData, maxlen: int = -1) -> bytes | str: ...
4848
def unpack(self, cdata: CData, length: int) -> bytes | str | list[Any]: ...
4949
@overload

0 commit comments

Comments
 (0)