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/10 06:57:52 UTC

[GitHub] vrakesh commented on a change in pull request #13171: Fixed Sparse astype doc string formatting error

vrakesh commented on a change in pull request #13171: Fixed Sparse astype doc string formatting error
URL: https://github.com/apache/incubator-mxnet/pull/13171#discussion_r232444268
 
 

 ##########
 File path: python/mxnet/ndarray/sparse.py
 ##########
 @@ -195,7 +195,8 @@ def asnumpy(self):
         return self.tostype('default').asnumpy()
 
     def astype(self, dtype, copy=True):
-        """Returns a copy of the array after casting to a specified type.
+        """Return a copy of the array after casting to a specified type.
 
 Review comment:
   That was a pydocstyle suggestion 

----------------------------------------------------------------
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