summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-04-30 08:39:07 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-04-30 08:39:07 +0000
commit0ef77c9c7e60371088f76621f8785f55cf5f25e9 (patch)
tree940fecf3023dbe7685b1c8bb3745a4aab91c08f9 /numpy/core/src/arrayobject.c
parent695bf8bcd07f9bb5670a90c6e3f72c9c33a6bd27 (diff)
downloadnumpy-0ef77c9c7e60371088f76621f8785f55cf5f25e9.tar.gz
forgot to move comments attached to ctor code.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index 2a9542b28..076547a8c 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -3263,44 +3263,3 @@ _array_typedescr_fromstr(char *str)
}
return descr;
}
-
-/*
- * flags is any of
- * CONTIGUOUS,
- * FORTRAN,
- * ALIGNED,
- * WRITEABLE,
- * NOTSWAPPED,
- * ENSURECOPY,
- * UPDATEIFCOPY,
- * FORCECAST,
- * ENSUREARRAY,
- * ELEMENTSTRIDES
- *
- * or'd (|) together
- *
- * Any of these flags present means that the returned array should
- * guarantee that aspect of the array. Otherwise the returned array
- * won't guarantee it -- it will depend on the object as to whether or
- * not it has such features.
- *
- * Note that ENSURECOPY is enough
- * to guarantee CONTIGUOUS, ALIGNED and WRITEABLE
- * and therefore it is redundant to include those as well.
- *
- * BEHAVED == ALIGNED | WRITEABLE
- * CARRAY = CONTIGUOUS | BEHAVED
- * FARRAY = FORTRAN | BEHAVED
- *
- * FORTRAN can be set in the FLAGS to request a FORTRAN array.
- * Fortran arrays are always behaved (aligned,
- * notswapped, and writeable) and not (C) CONTIGUOUS (if > 1d).
- *
- * UPDATEIFCOPY flag sets this flag in the returned array if a copy is
- * made and the base argument points to the (possibly) misbehaved array.
- * When the new array is deallocated, the original array held in base
- * is updated with the contents of the new array.
- *
- * FORCECAST will cause a cast to occur regardless of whether or not
- * it is safe.
- */