Home
last modified time | relevance | path

Searched refs:legacy_mode (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
D_testbuffer.c2692 int legacy_mode; /* if true, use the view.obj==NULL hack */ member
2725 PyObject *legacy_mode = Py_False; in staticarray_init() local
2727 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist, &legacy_mode)) in staticarray_init()
2730 a->legacy_mode = (legacy_mode != Py_False); in staticarray_init()
2747 if (self->legacy_mode) { in staticarray_getbuf()
/external/python/cpython3/Lib/test/
Dtest_buffer.py4341 x = staticarray(legacy_mode=True)
4352 x = staticarray(legacy_mode=True)
4357 x = staticarray(legacy_mode=True)
4369 x = staticarray(legacy_mode=True)