Home
last modified time | relevance | path

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

/third_party/python/Python/
D_warnings.c556 PyObject *filename, int lineno, PyObject *lineno_obj, in call_show_warning() argument
590 filename, lineno_obj, Py_None, Py_None, source, in call_show_warning()
617 PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL; in warn_explicit() local
662 lineno_obj = PyLong_FromLong(lineno); in warn_explicit()
663 if (lineno_obj == NULL) in warn_explicit()
671 key = PyTuple_Pack(3, text, category, lineno_obj); in warn_explicit()
737 lineno_obj, sourceline, source) < 0) in warn_explicit()
751 Py_XDECREF(lineno_obj); in warn_explicit()
/third_party/python/Modules/
D_tracemalloc.c1081 PyObject *frame_obj, *lineno_obj; in frame_to_pyobject() local
1090 lineno_obj = PyLong_FromUnsignedLong(frame->lineno); in frame_to_pyobject()
1091 if (lineno_obj == NULL) { in frame_to_pyobject()
1095 PyTuple_SET_ITEM(frame_obj, 1, lineno_obj); in frame_to_pyobject()