Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 236a547

Browse files
committed
Issue #18665: fix typos. Patch by Vajrasky Kok.
1 parent dbfc129 commit 236a547

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Include/frameobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ typedef struct _frame {
3636
non-generator frames. See the save_exc_state and swap_exc_state
3737
functions in ceval.c for details of their use. */
3838
PyObject *f_exc_type, *f_exc_value, *f_exc_traceback;
39-
/* Borrowed referenced to a generator, or NULL */
39+
/* Borrowed reference to a generator, or NULL */
4040
PyObject *f_gen;
4141

4242
PyThreadState *f_tstate;

Lib/test/test_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def g():
9696

9797
@support.cpython_only
9898
def test_clear_refcycles(self):
99-
# .clear() doesn't leave any refcycle behin
99+
# .clear() doesn't leave any refcycle behind
100100
with support.disable_gc():
101101
class C:
102102
pass

0 commit comments

Comments
 (0)