summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2016-11-15 10:33:52 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2016-11-17 12:33:23 +0000
commitecf9822ac05c1d23b3454f75a156b05a5b08c1d2 (patch)
treec90ac3bea4f25bd03d5409eab371b9225e2d94bd /deluge/ui/web/auth.py
parentc1249a2f3a1d64319f2da73ccdb94d9caaba722f (diff)
downloaddeluge-ecf9822ac05c1d23b3454f75a156b05a5b08c1d2.tar.gz
deluge-ecf9822ac05c1d23b3454f75a156b05a5b08c1d2.tar.bz2
deluge-ecf9822ac05c1d23b3454f75a156b05a5b08c1d2.zip
[Docs] Fix example and param notation in reST docstrings
* For future parsing into other docstring styles.
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index cc4350752..765d93e48 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -108,7 +108,7 @@ class Auth(JSONComponent):
"""
Creates a new session.
- :keyword login: the username of the user logging in, currently \
+ :param login: the username of the user logging in, currently \
only for future use currently.
:type login: string
"""
@@ -194,9 +194,9 @@ class Auth(JSONComponent):
:param request: The HTTP request in question
:type request: twisted.web.http.Request
- :keyword method: Check the specified method
+ :param method: Check the specified method
:type method: function
- :keyword level: Check the specified auth level
+ :param level: Check the specified auth level
:type level: integer
:raises: Exception