You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2017/11/12 02:46:33 UTC

[incubator-mxnet] branch master updated: Fix python 3 docstring (#8616)

This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 79b00cd  Fix python 3 docstring (#8616)
79b00cd is described below

commit 79b00cd9d19ff14809edc2ff3aef012925ddc24a
Author: kpengboy <kp...@users.noreply.github.com>
AuthorDate: Sat Nov 11 18:46:30 2017 -0800

    Fix python 3 docstring (#8616)
---
 python/mxnet/base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/mxnet/base.py b/python/mxnet/base.py
index 138bb4d..5882a50 100644
--- a/python/mxnet/base.py
+++ b/python/mxnet/base.py
@@ -183,8 +183,8 @@ else:
         Examples
         --------
         >>> x = mx.base.c_str("Hello, World")
-        >>> print x.value
-        Hello, World
+        >>> print(x.value)
+        b"Hello, World"
         """
         return ctypes.c_char_p(string.encode('utf-8'))
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].