Add __all__ (#13704)

This commit is contained in:
Semyon Moroz authored and GitHub committed 2025-03-25 14:09:32 +01:00
1 parent 4a750cef35
commit 9234985c3d
54 files changed
+311 -63

No files matched your search

@@ -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"]