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

Function F2PyDict_SetItemString

numpy/f2py/src/fortranobject.c:20–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18*/
19
20int
21F2PyDict_SetItemString(PyObject *dict, char *name, PyObject *obj)
22{
23 if (obj == NULL) {
24 fprintf(stderr, "Error loading %s\n", name);
25 if (PyErr_Occurred()) {
26 PyErr_Print();
27 PyErr_Clear();
28 }
29 return -1;
30 }
31 return PyDict_SetItemString(dict, name, obj);
32}
33
34/*
35 * Python-only fallback for thread-local callback pointers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected