Skip to content

Commit ecd5b98

Browse files
chore: doc fix
1 parent 73c241b commit ecd5b98

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd2/annotated.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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

5754
import argparse

0 commit comments

Comments
 (0)