Searched refs:lineno_obj (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Python/ |
H A D | _warnings.c | 570 PyObject *filename, int lineno, PyObject *lineno_obj, in call_show_warning() 603 filename, lineno_obj, Py_None, Py_None, source, in call_show_warning() 630 PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL; in warn_explicit() local 676 lineno_obj = PyLong_FromLong(lineno); in warn_explicit() 677 if (lineno_obj == NULL) in warn_explicit() 685 key = PyTuple_Pack(3, text, category, lineno_obj); in warn_explicit() 747 lineno, lineno_obj, sourceline, source) < 0) in warn_explicit() 761 Py_XDECREF(lineno_obj); in warn_explicit() 568 call_show_warning(PyThreadState *tstate, PyObject *category, PyObject *text, PyObject *message, PyObject *filename, int lineno, PyObject *lineno_obj, PyObject *sourceline, PyObject *source) call_show_warning() argument
|
/third_party/python/Modules/ |
H A D | _tracemalloc.c | 1082 PyObject *frame_obj, *lineno_obj; in frame_to_pyobject() local 1091 lineno_obj = PyLong_FromUnsignedLong(frame->lineno); in frame_to_pyobject() 1092 if (lineno_obj == NULL) { in frame_to_pyobject() 1096 PyTuple_SET_ITEM(frame_obj, 1, lineno_obj); in frame_to_pyobject()
|
Completed in 4 milliseconds