Skip to content

Commit 4be26bb

Browse files
Fix a pointer indirection.
1 parent 51ff183 commit 4be26bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/codeobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,10 +1933,10 @@ _PyCode_CheckNoInternalState(PyCodeObject *co, const char **p_errmsg)
19331933
errmsg = "only basic code objects are supported";
19341934
}
19351935
else if (co->_co_monitoring != NULL) {
1936-
*p_errmsg = "only basic code objects are supported";
1936+
errmsg = "only basic code objects are supported";
19371937
}
19381938
else if (co->co_extra != NULL) {
1939-
*p_errmsg = "only basic code objects are supported";
1939+
errmsg = "only basic code objects are supported";
19401940
}
19411941

19421942
if (errmsg != NULL) {

0 commit comments

Comments
 (0)