From 3ef5f546a10c8a47615487a49f480e92e83f6dad Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 9 Dec 2003 15:58:05 +0000 Subject: [PATCH] Clarify the docstring for privmsgs.getArgs --- src/privmsgs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/privmsgs.py b/src/privmsgs.py index c1071b912..3cab54287 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -66,7 +66,8 @@ def getArgs(args, required=1, optional=0): """Take the required/optional arguments from args. Always returns a list of size required + optional, filling it with however - many empty strings is necessary to fill the tuple to the right size. + many empty strings is necessary to fill the tuple to the right size. If + there is only one argument, a string containing that argument is returned. If there aren't enough args even to satisfy required, raise an error and let the caller handle sending the help message.