Searched refs:conv_fn (Results 1 – 3 of 3) sorted by relevance
402 conv_fn = getattr(obj, "_as_graph_element", None)403 if conv_fn and callable(conv_fn):404 return conv_fn()
3259 PyObject *(*conv_fn)(PyObject *); in _PyEval_EvalFrameDefault() local3268 case FVC_STR: conv_fn = PyObject_Str; break; in _PyEval_EvalFrameDefault()3269 case FVC_REPR: conv_fn = PyObject_Repr; break; in _PyEval_EvalFrameDefault()3270 case FVC_ASCII: conv_fn = PyObject_ASCII; break; in _PyEval_EvalFrameDefault()3274 default: conv_fn = NULL; break; in _PyEval_EvalFrameDefault()3280 if (conv_fn != NULL) { in _PyEval_EvalFrameDefault()3281 result = conv_fn(value); in _PyEval_EvalFrameDefault()
153 conv_fn = getattr(obj, "_as_graph_element", None)154 if conv_fn and callable(conv_fn):155 return conv_fn()