Skip to content

Commit 581db53

Browse files
author
Your Name
committed
Fixed the typing of the function
1 parent f8d477c commit 581db53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tap/tapify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def to_tap_class(class_or_function: _ClassOrFunction) -> type[Tap]:
296296

297297

298298
def tapify(
299-
class_or_function: Union[Callable[[InputType], OutputType], type[OutputType]],
299+
class_or_function: Union[Callable[..., OutputType], type[OutputType]],
300300
known_only: bool = False,
301301
command_line_args: Optional[list[str]] = None,
302302
explicit_bool: bool = False,

0 commit comments

Comments
 (0)