From 2f8de52edf627266c16b01dc2aff3e378e7b29bf Mon Sep 17 00:00:00 2001 From: Kanishk Pachauri Date: Thu, 6 Mar 2025 23:33:01 +0530 Subject: [PATCH] Fix parameter type annotations in `_cffi_backend` stub. (#13590) --- stubs/cffi/_cffi_backend.pyi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stubs/cffi/_cffi_backend.pyi b/stubs/cffi/_cffi_backend.pyi index 8acbc0c50..8fb8cbe6d 100644 --- a/stubs/cffi/_cffi_backend.pyi +++ b/stubs/cffi/_cffi_backend.pyi @@ -127,13 +127,13 @@ class FFI: def __init__( self, - module_name: str = ..., + module_name: bytes = ..., _version: int = ..., - _types: str = ..., - _globals: tuple[str | int, ...] = ..., - _struct_unions: tuple[tuple[str, ...], ...] = ..., - _enums: tuple[str, ...] = ..., - _typenames: tuple[str, ...] = ..., + _types: bytes = ..., + _globals: tuple[bytes | int, ...] = ..., + _struct_unions: tuple[tuple[bytes, ...], ...] = ..., + _enums: tuple[bytes, ...] = ..., + _typenames: tuple[bytes, ...] = ..., _includes: tuple[FFI, ...] = ..., ) -> None: ... @overload