Skip to content

Commit db7e049

Browse files
committed
Fix up a couple of comments
1 parent ea43b6d commit db7e049

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3538,7 +3538,6 @@ dummy_func(
35383538
arguments, total_args, NULL, frame
35393539
);
35403540
ERROR_IF(new_frame == NULL, error);
3541-
// Manipulate stack directly since we leave using DISPATCH_INLINED().
35423541
// The frame has stolen all the arguments from the stack,
35433542
// so there is no need to clean them up.
35443543
SYNC_SP();

Python/frame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ _PyFrame_ClearExceptCode(_PyInterpreterFrame *frame)
111111
PyFrameObject *f = frame->frame_obj;
112112
frame->frame_obj = NULL;
113113
if (Py_REFCNT(f) > 1) {
114-
// Take ownership takes the reference to the executable,
114+
// take_ownership takes the reference to the executable,
115115
// so we need to incref it.
116116
PyStackRef_AsPyObjectNew(frame->f_executable);
117117
take_ownership(f, frame);

0 commit comments

Comments
 (0)