summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-11 21:45:06 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-11 21:45:06 (GMT)
commit2252d11c08643279ffe58e99f6c8d04014079a7f (patch)
tree1561d7ccea92517daac9b7d5877426b17f15b107 /Include
parentae6d2b917520f441eb8538466c0b848047dd58f2 (diff)
downloadcpython-2252d11c08643279ffe58e99f6c8d04014079a7f.zip
cpython-2252d11c08643279ffe58e99f6c8d04014079a7f.tar.gz
cpython-2252d11c08643279ffe58e99f6c8d04014079a7f.tar.bz2
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
Diffstat (limited to 'Include')
-rw-r--r--Include/traceback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index b77cc92..e7943da 100644
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -19,7 +19,7 @@ typedef struct _traceback {
PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *);
PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
-PyAPI_FUNC(int) Py_DisplaySourceLine(PyObject *, const char *, int);
+PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, const char *, int, int);
/* Reveal traceback type so we can typecheck traceback objects */
PyAPI_DATA(PyTypeObject) PyTraceBack_Type;