Make FunctionType.__kwdefaults__ optional. (#12113)

This commit is contained in:
Thanos
2024-06-07 18:57:41 -04:00
committed by GitHub
parent 1794cfd26e
commit 0b1259ca0c

View File

@@ -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]: ...