Merge "Fix some reST field lists in docstrings"

This commit is contained in:
Jenkins 2017-03-29 08:56:52 +00:00 committed by Gerrit Code Review
commit 75c31760aa
3 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ class _StaticWebContext(WSGIContext):
self._error, self._listings, self._listings_css and self._dir_type.
: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._dir_type = None

View File

@ -47,7 +47,7 @@ class InMemoryFileSystem(object):
Return back an file-like object and its metadata
: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
of metadata (or None)
"""

View File

@ -34,7 +34,7 @@ def collect_info(path_list):
Recursive collect dirs and files in path_list directory.
: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
"""
files_list = []
@ -56,7 +56,7 @@ def find_max_occupancy_node(dir_list):
Find node with maximum occupancy.
: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
number = 0