Fixed a typo in the docstring of getArgs

This commit is contained in:
Jeremy Fincher 2003-03-25 23:58:11 +00:00
parent 17815fbeda
commit 73244ba170

View File

@ -66,7 +66,7 @@ def getChannel(msg, args):
def getArgs(args, needed=1, optional=0): def getArgs(args, needed=1, optional=0):
"""Take the needed arguments from args. """Take the needed arguments from args.
Always return a list of size needed + optional, filling it with however Always returns a list of size needed + 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 aren't enough args even to satisfy needed, raise an error and If there aren't enough args even to satisfy needed, raise an error and