summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-10-11 00:39:23 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-10-11 00:39:23 +0000
commitc0f1f96067a7dd75f767068790c39e055a83e40b (patch)
tree3afa8d638a3ef3fcc32892ce8b76e851819c8629
parent02b451e4a1a7f9b96becb27feceb699267ff9d95 (diff)
downloadnumpy-c0f1f96067a7dd75f767068790c39e055a83e40b.tar.gz
Fix asbuffer function.
-rw-r--r--numpy/core/src/multiarraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 1bee59462..015f84671 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -6767,7 +6767,7 @@ static struct PyMethodDef array_module_methods[] = {
{"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,