hints.py: Fix incorrect documentation of min_args parameter

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 8 years ago
parent 3c33818499
commit ed2a34e897

@ -182,7 +182,7 @@ class HintParser(object):
:param hint_name: The name of the hint :param hint_name: The name of the hint
:param parser_function: A function to add 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) :param aliases: An optional iterable of aliases to the hint (use only for backwards compatibility)
""" """
if min_args < 1: if min_args < 1:

Loading…
Cancel
Save