diff options
| author | Andy Lester <andy@petdance.com> | 2020-02-13 22:42:56 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-13 20:42:56 -0800 |
| commit | 7386a70746cf9aaf2d95db75d9201fb124f085df (patch) | |
| tree | ad8f8bf74a24ef84d9070da6f1f7b55d36f880eb /Objects/frameobject.c | |
| parent | a9edf44a2de9b23a1690b36cdfeed7b41ab763bd (diff) | |
| download | cpython-git-7386a70746cf9aaf2d95db75d9201fb124f085df.tar.gz | |
closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510)
Diffstat (limited to 'Objects/frameobject.c')
| -rw-r--r-- | Objects/frameobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 4469e3c20c..64f5754fe2 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -475,7 +475,7 @@ frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno, void *Py_UNUSED(ignore if (new_stack.depth > current_stack.depth || top_block(&new_stack)->start_line != current_block_at_new_depth->start_line) { unsigned char target_kind = top_block(&new_stack)->kind; - char *msg; + const char *msg; if (target_kind == POP_EXCEPT) { msg = "can't jump into an 'except' block as there's no exception"; } |
