Skip to content

Commit

Permalink
Remove some typing hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowlando13 committed Dec 5, 2024
1 parent 9959aa9 commit 3241541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/arguments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ Example usage:
.. click:example::
@click.command()
@click.argument('files', nargs=-1, type=click.Path(path_type=pathlib.Path))
def touch(files: tuple[pathlib.Path, ...]):
@click.argument('files', nargs=-1, type=click.Path())
def touch(files):
"""Print all FILES file names."""
for filename in files:
click.echo(filename)
Expand Down

0 comments on commit 3241541

Please sign in to comment.