Skip to content

Commit 957a35c

Browse files
Mr-Sunglassesmingyu.park
authored andcommitted
Fix parameter type annotations in _cffi_backend stub. (python#13590)
1 parent a02a75d commit 957a35c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stubs/cffi/_cffi_backend.pyi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ class FFI:
127127

128128
def __init__(
129129
self,
130-
module_name: str = ...,
130+
module_name: bytes = ...,
131131
_version: int = ...,
132-
_types: str = ...,
133-
_globals: tuple[str | int, ...] = ...,
134-
_struct_unions: tuple[tuple[str, ...], ...] = ...,
135-
_enums: tuple[str, ...] = ...,
136-
_typenames: tuple[str, ...] = ...,
132+
_types: bytes = ...,
133+
_globals: tuple[bytes | int, ...] = ...,
134+
_struct_unions: tuple[tuple[bytes, ...], ...] = ...,
135+
_enums: tuple[bytes, ...] = ...,
136+
_typenames: tuple[bytes, ...] = ...,
137137
_includes: tuple[FFI, ...] = ...,
138138
) -> None: ...
139139
@overload

0 commit comments

Comments
 (0)