2323
2424
2525@overload
26- def threaded (__function : TargetFunction [P , T ]) -> NoParamReturn [P , T ]:
27- ...
26+ def threaded (__function : TargetFunction [P , T ]) -> NoParamReturn [P , T ]: ...
2827
2928
3029@overload
@@ -35,8 +34,7 @@ def threaded(
3534 ignore_errors : Sequence [type [Exception ]] = (),
3635 suppress_errors : bool = False ,
3736 ** overflow_kwargs : Overflow_In ,
38- ) -> WithParamReturn [P , T ]:
39- ...
37+ ) -> WithParamReturn [P , T ]: ...
4038
4139
4240@overload
@@ -48,8 +46,7 @@ def threaded(
4846 ignore_errors : Sequence [type [Exception ]] = (),
4947 suppress_errors : bool = False ,
5048 ** overflow_kwargs : Overflow_In ,
51- ) -> FullParamReturn [P , T ]:
52- ...
49+ ) -> FullParamReturn [P , T ]: ...
5350
5451
5552def threaded (
@@ -90,8 +87,7 @@ def threaded(
9087
9188 You can also pass keyword arguments to change the thread behaviour, it otherwise follows the defaults of `thread.Thread`
9289 >>> @thread.threaded(daemon = True)
93- >>> def myfunction():
94- ... ...
90+ >>> def myfunction(): ...
9591
9692 Args will be ordered infront of function-parsed args parsed into `thread.Thread.args`
9793 >>> @thread.threaded(args = (1))
0 commit comments