Skip to content

Commit 30fd1a3

Browse files
zachcheungdjc
authored andcommitted
Add a blank line in docstring of some functions for sphinx
1 parent 81af09d commit 30fd1a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

couchdb/client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def replicate(self, source, target, **options):
244244

245245
def add_user(self, name, password, roles=None):
246246
"""Add regular user in authentication database.
247+
247248
:param name: name of regular user, normally user id
248249
:param password: password of regular user
249250
:param roles: roles of regular user
@@ -261,6 +262,7 @@ def add_user(self, name, password, roles=None):
261262

262263
def remove_user(self, name):
263264
"""Remove regular user in authentication database.
265+
264266
:param name: name of regular user, normally user id
265267
"""
266268
user_db = self['_users']
@@ -269,6 +271,7 @@ def remove_user(self, name):
269271

270272
def login(self, name, password):
271273
"""Login regular user in couch db
274+
272275
:param name: name of regular user, normally user id
273276
:param password: password of regular user
274277
:return: authentication token
@@ -286,6 +289,7 @@ def login(self, name, password):
286289

287290
def logout(self, token):
288291
"""Logout regular user in couch db
292+
289293
:param token: token of login user
290294
:return: True if successfully logout
291295
:rtype: bool
@@ -299,6 +303,7 @@ def logout(self, token):
299303

300304
def verify_token(self, token):
301305
"""Verify user token
306+
302307
:param token: authentication token
303308
:return: True if authenticated ok
304309
:rtype: bool

0 commit comments

Comments
 (0)