File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,9 @@ def do_paint(
4646- ``enum.Enum`` subclass -- ``type=converter``, ``choices`` from member values
4747- ``decimal.Decimal`` -- sets ``type=Decimal``
4848- ``Literal[...]`` -- sets ``type=converter`` and ``choices`` from literal values
49- - ``Collection[T]`` / `` list[T]`` / ``set[T]`` / ``tuple[T, ...]`` -- ``nargs='+'`` (or ``'*'`` if has a default)
49+ - ``list[T]`` / ``set[T]`` / ``tuple[T, ...]`` -- ``nargs='+'`` (or ``'*'`` if has a default)
5050- ``T | None`` -- unwrapped to ``T``, treated as optional
5151
52- Note: ``Path`` and ``Enum`` types also get automatic tab completion via
53- ``ArgparseCompleter`` type inference. This works for both ``@with_annotated``
54- and ``@with_argparser`` -- see the ``argparse_completer`` module.
5552"""
5653
5754import argparse
You can’t perform that action at this time.
0 commit comments