From cfb1381c2e8e1f144b886ab63bc81acb2e40ee75 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sat, 2 Apr 2022 17:44:17 -0700 Subject: [PATCH] Add `types.FunctionType.__module__` (#7581) This exists on builtins.function but not here. --- stdlib/types.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/types.pyi b/stdlib/types.pyi index be11c8827..9b2fa1f4a 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -200,6 +200,7 @@ class FunctionType: @property def __builtins__(self) -> dict[str, Any]: ... + __module__: str def __init__( self, code: CodeType,