mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-04 23:01:11 +00:00
hints.py: Fix incorrect documentation of min_args parameter
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
3c33818499
commit
ed2a34e897
@ -182,7 +182,7 @@ class HintParser(object):
|
||||
|
||||
:param hint_name: The name of the hint
|
||||
:param parser_function: A function to add the hint
|
||||
:param min_args: An optional positive integer (or 0) denoting the number of arguments the hint takes.
|
||||
:param min_args: An optional positive integer (non-zero) denoting the number of arguments the hint takes.
|
||||
:param aliases: An optional iterable of aliases to the hint (use only for backwards compatibility)
|
||||
"""
|
||||
if min_args < 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user