Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix #12944, Fix Sphinx python docstring formatting error. (#13174)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored and nswamy committed Nov 9, 2018
1 parent 0166793 commit 34d24b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/mxnet/gluon/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,9 @@ def get(self, name, **kwargs):
return param

def get_constant(self, name, value=None):
"""Retrieves a :py:class:`Constant` with name ``self.prefix+name``. If not found,
"""Retrieves a :py:class:`.Constant` with name ``self.prefix+name``. If not found,
:py:func:`get` will first try to retrieve it from "shared" dict. If still not
found, :py:func:`get` will create a new :py:class:`Constant` with key-word
found, :py:func:`get` will create a new :py:class:`.Constant` with key-word
arguments and insert it to self.
Parameters
Expand All @@ -756,7 +756,7 @@ def get_constant(self, name, value=None):
Returns
-------
Constant
The created or retrieved :py:class:`Constant`.
The created or retrieved :py:class:`.Constant`.
"""
name = self.prefix + name
param = self._get_impl(name)
Expand Down

0 comments on commit 34d24b4

Please sign in to comment.