mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fixed a typo in the docstring of getArgs
This commit is contained in:
parent
17815fbeda
commit
73244ba170
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user