Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dabstract.c765 PyObject *self_as_str = NULL; local
777 self_as_str = PyObject_Unicode(obj);
782 self_as_str = PyObject_Str(obj);
784 if (self_as_str == NULL)
808 format_method = PyObject_GetAttrString(self_as_str, "__format__");
816 Py_XDECREF(self_as_str);
Dtypeobject.c3606 PyObject *self_as_str = NULL; local
3615 self_as_str = PyObject_Unicode(self);
3621 self_as_str = PyObject_Str(self);
3628 if (self_as_str != NULL) {
3643 result = PyObject_Format(self_as_str, format_spec);
3647 Py_XDECREF(self_as_str);