File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ def get_arg_number(arg):
3838
3939
4040class Timer (Protocol ):
41- def start (self ):
42- ...
41+ def start (self ): ...
4342
4443 def stop (self ):
4544 """
@@ -105,14 +104,11 @@ def stop(self):
105104# manager so that we can run both CuPy and SciPy
106105# programs with resource scoping.
107106class DummyScope :
108- def __init__ (self ):
109- ...
107+ def __init__ (self ): ...
110108
111- def __enter__ (self ):
112- ...
109+ def __enter__ (self ): ...
113110
114- def __exit__ (self , _ , __ , ___ ):
115- ...
111+ def __exit__ (self , _ , __ , ___ ): ...
116112
117113 def __getitem__ (self , item ):
118114 return self
Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ def should_wrap(obj: object) -> bool:
4343
4444
4545class AnyCallable (Protocol ):
46- def __call__ (self , * args : Any , ** kwargs : Any ) -> Any :
47- ...
46+ def __call__ (self , * args : Any , ** kwargs : Any ) -> Any : ...
4847
4948
5049def wrap (func : AnyCallable ) -> Any :
You can’t perform that action at this time.
0 commit comments