Skip to content

Commit 7fa9315

Browse files
committed
Apply more consistent formatting
1 parent 4c8e818 commit 7fa9315

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/functools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,7 @@ def _get_singledispatch_annotated_param(func, role):
926926
# Allow variadic positional '(*args)' parameters for backward compatibility.
927927
if param.kind not in (
928928
inspect.Parameter.KEYWORD_ONLY,
929-
inspect.Parameter.VAR_KEYWORD,
930-
):
929+
inspect.Parameter.VAR_KEYWORD):
931930
return param.name
932931
raise TypeError(
933932
f"Invalid first argument to `register()`: {func!r} "

0 commit comments

Comments
 (0)