[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:
Calum Lind 2017-01-12 11:13:17 +00:00
parent 993a0f71af
commit 1e4a24c474
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ def find_json_objects(s):
s (str): the string to find json objects in s (str): the string to find json objects in
Returns: Returns:
list ([(start, end), ...]): a list of tuples containing start and list: A list of tuples containing start and end locations of json
end locations of json objects in the string `s` objects in string `s`. e.g. [(start, end), ...]
""" """
objects = [] objects = []