summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index e9384ca..cb81b07 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -266,7 +266,8 @@ show_warning(PyObject *filename, int lineno, PyObject *text, PyObject
PyFile_WriteString("\n", f_stderr);
}
else
- Py_DisplaySourceLine(f_stderr, PyUnicode_AsString(filename), lineno, 2);
+ _Py_DisplaySourceLine(f_stderr, PyUnicode_AsString(filename),
+ lineno, 2);
PyErr_Clear();
}