[Numpy-svn] r3306 - trunk/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Oct 10 19:39:25 CDT 2006


Author: oliphant
Date: 2006-10-10 19:39:23 -0500 (Tue, 10 Oct 2006)
New Revision: 3306

Modified:
   trunk/numpy/core/src/multiarraymodule.c
Log:
Fix asbuffer function.

Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c	2006-10-10 23:19:05 UTC (rev 3305)
+++ trunk/numpy/core/src/multiarraymodule.c	2006-10-11 00:39:23 UTC (rev 3306)
@@ -6767,7 +6767,7 @@
 	{"getbuffer", (PyCFunction)buffer_buffer,
 	 METH_VARARGS | METH_KEYWORDS, NULL},
         {"asbuffer", (PyCFunction)as_buffer,
-         METH_VARARGS, NULL},
+         METH_VARARGS | METH_KEYWORDS, NULL},
         {"format_longfloat", (PyCFunction)format_longfloat,
          METH_VARARGS | METH_KEYWORDS, NULL},
         {"compare_chararrays", (PyCFunction)compare_chararrays,



More information about the Numpy-svn mailing list