File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,10 @@ def reset(self) -> None:
4343 self ._modules = {}
4444
4545 @t .overload
46- def bind (
47- self , name_or_func : str
48- ) -> (
49- t .Callable [[t .Type [T ]], t .Type [T ]]
50- | t .Callable [[t .Callable [..., T ]], t .Callable [..., T ]]
51- ): ...
46+ def bind (self , name_or_func : str ) -> t .Callable [
47+ [t .Type [T ] | t .Callable [..., T ]],
48+ t .Type [T ] | t .Callable [..., T ],
49+ ]: ...
5250
5351 @t .overload
5452 def bind (self , name_or_func : t .Callable [..., T ]) -> t .Callable [..., T ]: ...
@@ -64,8 +62,10 @@ def bind(
6462 def bind (
6563 self , name_or_func : str | t .Callable [..., T ] | t .Type [T ] | None = None
6664 ) -> (
67- t .Callable [[t .Type [T ]], t .Type [T ]]
68- | t .Callable [[t .Callable [..., T ]], t .Callable [..., T ]]
65+ t .Callable [
66+ [t .Type [T ] | t .Callable [..., T ]],
67+ t .Type [T ] | t .Callable [..., T ],
68+ ]
6969 | t .Callable [..., T ]
7070 | t .Type [T ]
7171 ):
You can’t perform that action at this time.
0 commit comments