From 37e42bfa96dc8cf1299df173aeb352bcc79a492c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 2 Jul 2016 10:05:02 -0700 Subject: [PATCH] ModuleType has a __file__ attribute. --- stdlib/3/types.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/types.pyi b/stdlib/3/types.pyi index b5f67a8ce..ffb1fd6c6 100644 --- a/stdlib/3/types.pyi +++ b/stdlib/3/types.pyi @@ -110,6 +110,7 @@ BuiltinMethodType = BuiltinFunctionType class ModuleType: __name__ = ... # type: str + __file__ = ... # type: str __doc__ = ... # type: Optional[str] if sys.version_info >= (3, 4): __loader__ = ... # type: Optional[importlib.abc.Loader]