[python-arrayfire] 175/250: Minor change to the output of repr
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit 7deb63c6562c4ade18ba08fc38515f9594667a27
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Thu Dec 10 13:28:45 2015 -0500
Minor change to the output of repr
---
arrayfire/array.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrayfire/array.py b/arrayfire/array.py
index 9a344ba..13a5fc8 100644
--- a/arrayfire/array.py
+++ b/arrayfire/array.py
@@ -1040,7 +1040,7 @@ class Array(BaseArray):
arr_str = ct.c_char_p(0)
safe_call(backend.get().af_array_to_string(ct.pointer(arr_str), "", self.arr, 4, True))
- return 'Type: arrayfire.Array()\nType: %s\n' % \
+ return 'arrayfire.Array()\nType: %s' % \
(to_typename[self.type()]) + to_str(arr_str)
def __array__(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list