diff --git a/stubs/cffi/METADATA.toml b/stubs/cffi/METADATA.toml index b42e584ae0b2..443f8d492847 100644 --- a/stubs/cffi/METADATA.toml +++ b/stubs/cffi/METADATA.toml @@ -1,4 +1,4 @@ -version = "2.0.*" +version = "2.1.*" upstream-repository = "https://github.com/python-cffi/cffi/" dependencies = ["types-setuptools"] diff --git a/stubs/cffi/cffi/gen_src.pyi b/stubs/cffi/cffi/gen_src.pyi new file mode 100644 index 000000000000..bac2cd9f246d --- /dev/null +++ b/stubs/cffi/cffi/gen_src.pyi @@ -0,0 +1 @@ +# Entry point for `python -m cffi.gen_src`; the implementation lives in the private module `cffi._cffi_gen_src` diff --git a/stubs/cffi/cffi/recompiler.pyi b/stubs/cffi/cffi/recompiler.pyi index f95c84932278..bb73ccf88479 100644 --- a/stubs/cffi/cffi/recompiler.pyi +++ b/stubs/cffi/cffi/recompiler.pyi @@ -8,7 +8,8 @@ from .error import VerificationError as VerificationError VERSION_BASE: Final = 9729 VERSION_EMBEDDED: Final = 9985 VERSION_CHAR16CHAR32: Final = 10241 -USE_LIMITED_API: Final = True +FREE_THREADED_BUILD: Final[int | None] +USE_LIMITED_API: Final[bool] class GlobalExpr: name: Incomplete