From 3241541fc89fe9c79908a6099fa2235dd20016e8 Mon Sep 17 00:00:00 2001 From: Edward G Date: Wed, 4 Dec 2024 23:08:51 -0800 Subject: [PATCH] Remove some typing hints. --- docs/arguments.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/arguments.rst b/docs/arguments.rst index 214f564cf..ae2991b39 100644 --- a/docs/arguments.rst +++ b/docs/arguments.rst @@ -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)