summaryrefslogtreecommitdiff
path: root/numpy/doc/swig/numpy.i
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/swig/numpy.i')
-rw-r--r--numpy/doc/swig/numpy.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/swig/numpy.i b/numpy/doc/swig/numpy.i
index 9e061a9a1..9c9e94878 100644
--- a/numpy/doc/swig/numpy.i
+++ b/numpy/doc/swig/numpy.i
@@ -1,4 +1,4 @@
-// -*- C -*- (not really, but good for syntax highlighting)
+/* -*- C -*- (not really, but good for syntax highlighting) */
%{
#ifndef SWIG_FILE_WITH_INIT
# define NO_IMPORT_ARRAY
@@ -107,7 +107,7 @@ PyArrayObject* obj_to_array_allow_conversion(PyObject* input, int typecode,
}
else {
py_obj = PyArray_FromObject(input, typecode, 0, 0);
- // If NULL, PyArray_FromObject will have set python error value.
+ /* If NULL, PyArray_FromObject will have set python error value.*/
ary = (PyArrayObject*) py_obj;
*is_new_object = 1;
}