Skip to content

Commit 026c289

Browse files
make fmt
Signed-off-by: Achille Roussel <[email protected]>
1 parent 77465dc commit 026c289

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dispatch/function.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ def decorator(f):
3636
def method(self, *args, **kwargs):
3737
if len(args) == 1 and len(kwargs) == 0 and callable(args[0]):
3838
return f(self, args[0])
39+
3940
def wrapper(func):
4041
return f(self, func, *args, **kwargs)
42+
4143
return wrapper
4244

4345
return method

0 commit comments

Comments
 (0)