You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/09 05:11:40 UTC

[GitHub] nswamy closed pull request #13174: Fix #12944, Fix Sphinx python docstring formatting error.

nswamy closed pull request #13174: Fix #12944, Fix Sphinx python docstring formatting error.
URL: https://github.com/apache/incubator-mxnet/pull/13174
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/mxnet/gluon/parameter.py b/python/mxnet/gluon/parameter.py
index f53eeb00694..b57defa5498 100644
--- a/python/mxnet/gluon/parameter.py
+++ b/python/mxnet/gluon/parameter.py
@@ -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
@@ -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)


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services