Merge "Fix some reST field lists in docstrings"
This commit is contained in:
commit
75c31760aa
@ -199,7 +199,7 @@ class _StaticWebContext(WSGIContext):
|
|||||||
self._error, self._listings, self._listings_css and self._dir_type.
|
self._error, self._listings, self._listings_css and self._dir_type.
|
||||||
|
|
||||||
:param env: The WSGI environment dict.
|
:param env: The WSGI environment dict.
|
||||||
:return container_info: The container_info dict.
|
:return: The container_info dict.
|
||||||
"""
|
"""
|
||||||
self._index = self._error = self._listings = self._listings_css = \
|
self._index = self._error = self._listings = self._listings_css = \
|
||||||
self._dir_type = None
|
self._dir_type = None
|
||||||
|
@ -47,7 +47,7 @@ class InMemoryFileSystem(object):
|
|||||||
Return back an file-like object and its metadata
|
Return back an file-like object and its metadata
|
||||||
|
|
||||||
:param name: standard object name
|
:param name: standard object name
|
||||||
:return (fp, metadata): fp is `StringIO` in-memory representation
|
:return: (fp, metadata) fp is `StringIO` in-memory representation
|
||||||
object (or None). metadata is a dictionary
|
object (or None). metadata is a dictionary
|
||||||
of metadata (or None)
|
of metadata (or None)
|
||||||
"""
|
"""
|
||||||
|
@ -34,7 +34,7 @@ def collect_info(path_list):
|
|||||||
Recursive collect dirs and files in path_list directory.
|
Recursive collect dirs and files in path_list directory.
|
||||||
|
|
||||||
:param path_list: start directory for collecting
|
:param path_list: start directory for collecting
|
||||||
:return files_list, dir_list: tuple of included
|
:return: files_list, dir_list tuple of included
|
||||||
directories and files
|
directories and files
|
||||||
"""
|
"""
|
||||||
files_list = []
|
files_list = []
|
||||||
@ -56,7 +56,7 @@ def find_max_occupancy_node(dir_list):
|
|||||||
Find node with maximum occupancy.
|
Find node with maximum occupancy.
|
||||||
|
|
||||||
:param list_dir: list of directories for each node.
|
:param list_dir: list of directories for each node.
|
||||||
:return number: number node in list_dir
|
:return: number number node in list_dir
|
||||||
"""
|
"""
|
||||||
count = 0
|
count = 0
|
||||||
number = 0
|
number = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user