MCPcopy Create free account
hub / github.com/numpy/numpy / set_legacy_print_mode

Function set_legacy_print_mode

numpy/core/src/multiarray/multiarraymodule.c:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113static PyObject *
114set_legacy_print_mode(PyObject *NPY_UNUSED(self), PyObject *args)
115{
116 if (!PyArg_ParseTuple(args, "i", &npy_legacy_print_mode)) {
117 return NULL;
118 }
119 if (!npy_legacy_print_mode) {
120 npy_legacy_print_mode = INT_MAX;
121 }
122 Py_RETURN_NONE;
123}
124
125
126/* Only here for API compatibility */

Callers 1

set_printoptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected