Lines Matching defs:order
138 "tobytes($self, /, order=\'C\')\n"
143 "Order can be {\'C\', \'F\', \'A\'}. When order is \'C\' or \'F\', the data of the\n"
144 "original array is converted to C or Fortran order. For contiguous views,\n"
146 "Fortran order is preserved. For non-contiguous views, the data is converted\n"
147 "to C first. order=None is the same as order=\'C\'.");
153 memoryview_tobytes_impl(PyMemoryViewObject *self, const char *order);
159 static const char * const _keywords[] = {"order", NULL};
163 const char *order = NULL;
173 order = NULL;
177 order = PyUnicode_AsUTF8AndSize(args[0], &order_length);
178 if (order == NULL) {
181 if (strlen(order) != (size_t)order_length) {
187 _PyArg_BadArgument("tobytes", "argument 'order'", "str or None", args[0]);
191 return_value = memoryview_tobytes_impl(self, order);