We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e908d3 commit 6378934Copy full SHA for 6378934
examples/extensions/C-API/README
@@ -1,9 +1,13 @@
1
+This example for using the C-API with NumPy is for python 3.x only --
2
+the interface for python 2.x is different. Note that this was written
3
+to use the latest API.
4
+
5
reference: http://scipy-lectures.github.io/advanced/interfacing_with_c/interfacing_with_c.html
6
http://wiki.scipy.org/Cookbook/C_Extensions/NumPy_arrays
7
8
to build:
9
-python setup.py build_ext --inplace
10
+python3 setup.py build_ext --inplace
11
12
to run:
13
@@ -28,7 +32,3 @@ to run:
28
32
[ 225. 256. 289. 324. 361.]]
29
33
30
34
31
-
-Note that directly accessing the fields in the PyArrayObject struct is
-deprecated, and there will be a warning issued.
0 commit comments