Skip to content

Commit 3241541

Browse files
committed
Remove some typing hints.
1 parent 9959aa9 commit 3241541

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/arguments.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ Example usage:
7979
.. click:example::
8080
8181
@click.command()
82-
@click.argument('files', nargs=-1, type=click.Path(path_type=pathlib.Path))
83-
def touch(files: tuple[pathlib.Path, ...]):
82+
@click.argument('files', nargs=-1, type=click.Path())
83+
def touch(files):
8484
"""Print all FILES file names."""
8585
for filename in files:
8686
click.echo(filename)

0 commit comments

Comments
 (0)