document get_arg req parameter

This commit is contained in:
Jean-Paul Calderone 2020-10-22 07:22:51 -04:00
parent 8401547b35
commit e97b5f6bb4

View File

@ -21,6 +21,8 @@ def get_arg(req, argname, default=None, multiple=False):
(or the default, which defaults to None), and the query args take
precedence. If multiple=True, this returns a tuple of arguments (possibly
empty), starting with all those in the query args.
:param TahoeLAFSRequest req: The request to consider.
"""
results = []
if argname in req.args: