mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
document get_arg req parameter
This commit is contained in:
parent
8401547b35
commit
e97b5f6bb4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user