Lines Matching defs:bytes
79 "Return the bytes object that would be written to a file by dump(value, file).\n"
121 "loads($module, bytes, /)\n"
124 "Convert the bytes-like object to a value.\n"
127 "bytes in the input are ignored.");
133 marshal_loads_impl(PyObject *module, Py_buffer *bytes);
139 Py_buffer bytes = {NULL, NULL};
141 if (PyObject_GetBuffer(arg, &bytes, PyBUF_SIMPLE) != 0) {
144 if (!PyBuffer_IsContiguous(&bytes, 'C')) {
148 return_value = marshal_loads_impl(module, &bytes);
151 /* Cleanup for bytes */
152 if (bytes.obj) {
153 PyBuffer_Release(&bytes);