[DOC BLD FIX] Correct reST field lists in docstrings

Most common format for documenting arguments is reST field, the
incorrect docstring will cause a Sphinx warning to be generated
and caused the documentation to be improperly rendered.

[1] http://sphinx-doc.org/domains.html#info-field-lists

Change-Id: I8860624c923ebdd3dc64ca52613eb79fd959da2b
This commit is contained in:
liuyamin 2017-09-11 17:32:29 +08:00 committed by Lingxian Kong
parent 851227deea
commit fccc7c2d35
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def get_backend():
"""Consumed by openstack common code.
The backend is this module itself.
:return Name of db backend.
:return: Name of db backend.
"""
return sys.modules[__name__]