[Docs] Fix docstring return type format in config.py
* With new version of Sphinx 1.5 the warning below was generated, caused
by incorrect formatting of return type in docstring.
docstring of deluge.config.find_json_objects:None:
WARNING: more than one target found for cross-reference u'start'
This commit is contained in:
parent
993a0f71af
commit
1e4a24c474
@ -76,8 +76,8 @@ def find_json_objects(s):
|
||||
s (str): the string to find json objects in
|
||||
|
||||
Returns:
|
||||
list ([(start, end), ...]): a list of tuples containing start and
|
||||
end locations of json objects in the string `s`
|
||||
list: A list of tuples containing start and end locations of json
|
||||
objects in string `s`. e.g. [(start, end), ...]
|
||||
|
||||
"""
|
||||
objects = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user