Searched refs:self_as_str (Results 1 – 2 of 2) sorted by relevance
765 PyObject *self_as_str = NULL; local777 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);
3606 PyObject *self_as_str = NULL; local3615 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);