Skip to content

Commit 4bb80ba

Browse files
Update cmd2/argparse_custom.py
Improve docstring to make it more accurate Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7faed3b commit 4bb80ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/argparse_custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ def __init__(self, value: object, description: str | Sequence[Any], *args: Any)
388388
"""CompletionItem Initializer.
389389
390390
:param value: the value being tab completed
391-
:param description: a string or list of descriptive data to display in the columns that follow
392-
the completion value. If a list, the number of items in this list must equal
391+
:param description: a string or sequence of descriptive data to display in the columns that follow
392+
the completion value. If a sequence, the number of items in this sequence must equal
393393
the number of descriptive headers defined for the argument.
394394
:param args: args for str __init__
395395
"""

0 commit comments

Comments
 (0)