]> granicus.if.org Git - python/commitdiff
Issue #18665: fix typos. Patch by Vajrasky Kok.
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Aug 2013 21:06:59 +0000 (23:06 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Aug 2013 21:06:59 +0000 (23:06 +0200)
Include/frameobject.h
Lib/test/test_frame.py

index 10ba06fedb24f125784d2dbdb24db8af01ac7ac6..18419bf1816571890dcc62df8ac7bec656a4a562 100644 (file)
@@ -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;
index f42dad342c4853f3913f90188db7582de27f5ac3..2dd5780c8890dd540b2f2c8d1ed938385aa0bfe1 100644 (file)
@@ -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