Skip to content

Commit 39d0996

Browse files
committed
Fix messed up replace.
1 parent 286f281 commit 39d0996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Include/cpython/frameobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct _frame {
4949
PyObject *f_localsplus[1]; /* locals+stack, dynamically sized */
5050
};
5151

52-
static inline int _PyFrame_IsExecutingRunnable(struct _frame *f) {
52+
static inline int _PyFrame_IsRunnable(struct _frame *f) {
5353
return f->f_state < FRAME_EXECUTING;
5454
}
5555

Objects/genobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
176176
return NULL;
177177
}
178178

179-
assert(_PyFrameIsRunnable(f));
179+
assert(_PyFrame_IsRunnable(f));
180180
if (f->f_lasti == -1) {
181181
if (arg && arg != Py_None) {
182182
const char *msg = "can't send non-None value to a "

0 commit comments

Comments
 (0)