diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-06 21:06:59 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-06 21:06:59 (GMT) |
commit | 236a547b3e5094150e579eebb0152e98a4098dd3 (patch) | |
tree | 5f5e68ddc605cca3567d152614f6ef3e53dbadea | |
parent | dbfc129cc8f2a3ea3e6a0b7e6492887212923bc6 (diff) | |
download | cpython-236a547b3e5094150e579eebb0152e98a4098dd3.zip cpython-236a547b3e5094150e579eebb0152e98a4098dd3.tar.gz cpython-236a547b3e5094150e579eebb0152e98a4098dd3.tar.bz2 |
Issue #18665: fix typos. Patch by Vajrasky Kok.
-rw-r--r-- | Include/frameobject.h | 2 | ||||
-rw-r--r-- | Lib/test/test_frame.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h index 10ba06f..18419bf 100644 --- a/Include/frameobject.h +++ b/Include/frameobject.h @@ -36,7 +36,7 @@ typedef struct _frame { non-generator frames. See the save_exc_state and swap_exc_state functions in ceval.c for details of their use. */ PyObject *f_exc_type, *f_exc_value, *f_exc_traceback; - /* Borrowed referenced to a generator, or NULL */ + /* Borrowed reference to a generator, or NULL */ PyObject *f_gen; PyThreadState *f_tstate; diff --git a/Lib/test/test_frame.py b/Lib/test/test_frame.py index f42dad3..2dd5780 100644 --- a/Lib/test/test_frame.py +++ b/Lib/test/test_frame.py @@ -96,7 +96,7 @@ class ClearTest(unittest.TestCase): @support.cpython_only def test_clear_refcycles(self): - # .clear() doesn't leave any refcycle behin + # .clear() doesn't leave any refcycle behind with support.disable_gc(): class C: pass |