Add CallableProxyType.__call__ (#6434)

This commit is contained in:
Alex Waygood
2021-11-29 03:13:08 +00:00
committed by GitHub
parent 73d638fe8e
commit 652aa66953

View File

@@ -11,6 +11,7 @@ _T = TypeVar("_T")
@final
class CallableProxyType(Generic[_C]): # "weakcallableproxy"
def __getattr__(self, attr: str) -> Any: ...
__call__: _C
@final
class ProxyType(Generic[_T]): # "weakproxy"