diff options
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 9418236..61e6838 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -605,7 +605,7 @@ extract_anchors_from_line(PyObject *filename, PyObject *line, } const char *segment_str = PyUnicode_AsUTF8(segment); - if (!segment) { + if (!segment_str) { goto done; } |