[python-arrayfire] 15/58: Fixing mistake in documentation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 13:57:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-arrayfire.

commit 2efb2ad62892ed0b90eae2dc5b33648809378ada
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon May 16 09:57:11 2016 -0400

    Fixing mistake in documentation
---
 arrayfire/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrayfire/__init__.py b/arrayfire/__init__.py
index 40cc231..a129392 100644
--- a/arrayfire/__init__.py
+++ b/arrayfire/__init__.py
@@ -29,7 +29,7 @@ The default backend is chosen in the following order of preference based on the
 
 The backend can be chosen at the beginning of the program by using the following function
 
-    >>> af.backend.set(name)
+    >>> af.set_backend(name)
 
 where name is one of 'cuda', 'opencl' or 'cpu'
 

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