Add __all__ (#13704)

This commit is contained in:
Semyon Moroz
2025-03-25 14:09:32 +01:00
committed by GitHub
parent 4a750cef35
commit 9234985c3d
54 changed files with 311 additions and 63 deletions
@@ -1,2 +0,0 @@
# TODO: missing from stub
singledispatch.__all__
+2
View File
@@ -29,3 +29,5 @@ class singledispatchmethod(Generic[_T]):
@overload
def register(self, cls: type[Any], method: Callable[..., _T]) -> Callable[..., _T]: ...
def __get__(self, obj: _S, cls: type[_S] | None = ...) -> Callable[..., _T]: ...
__all__ = ["singledispatch", "singledispatchmethod"]