Searched defs:pystr (Results 1 - 1 of 1) sorted by relevance

/lxc/src/python-lxc/
H A Dlxc.c59 PyObject *pystr = NULL; local
68 pystr = PyUnicode_AsUTF8String(pyobj);
69 if (!pystr) {
74 str = PyBytes_AsString(pystr);
76 /* Maybe pystr wasn't a valid object. An exception is already set.
78 Py_DECREF(pystr);
92 Py_DECREF(pystr);
265 PyObject *pystr = NULL; local
273 pystr = PyUnicode_AsUTF8String(arg);
274 if (!pystr)
[all...]

Completed in 480 milliseconds