Skip to content

Commit cee055a

Browse files
committed
...Actually readable formatting
1 parent 7fa9315 commit cee055a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/functools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,9 +924,8 @@ def _get_singledispatch_annotated_param(func, role):
924924
pass
925925
else:
926926
# Allow variadic positional '(*args)' parameters for backward compatibility.
927-
if param.kind not in (
928-
inspect.Parameter.KEYWORD_ONLY,
929-
inspect.Parameter.VAR_KEYWORD):
927+
if param.kind not in (inspect.Parameter.KEYWORD_ONLY,
928+
inspect.Parameter.VAR_KEYWORD):
930929
return param.name
931930
raise TypeError(
932931
f"Invalid first argument to `register()`: {func!r} "

0 commit comments

Comments
 (0)