From 0b1259ca0c582a7fa6c125bea1dbe22c44a44af4 Mon Sep 17 00:00:00 2001 From: Thanos <111999343+Sachaa-Thanasius@users.noreply.github.com> Date: Fri, 7 Jun 2024 18:57:41 -0400 Subject: [PATCH] Make `FunctionType.__kwdefaults__` optional. (#12113) --- stdlib/types.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/types.pyi b/stdlib/types.pyi index 98af82a52..9e9dc56b8 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -81,7 +81,7 @@ class FunctionType: __name__: str __qualname__: str __annotations__: dict[str, Any] - __kwdefaults__: dict[str, Any] + __kwdefaults__: dict[str, Any] | None if sys.version_info >= (3, 10): @property def __builtins__(self) -> dict[str, Any]: ...