[Python-checkins] cpython: Issue #18665: fix typos. Patch by Vajrasky Kok.
antoine.pitrou
python-checkins at python.org
Tue Aug 6 23:07:09 CEST 2013
http://hg.python.org/cpython/rev/89ce323357db
changeset: 85060:89ce323357db
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Aug 06 23:06:59 2013 +0200
summary:
Issue #18665: fix typos. Patch by Vajrasky Kok.
files:
Include/frameobject.h | 2 +-
Lib/test/test_frame.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Include/frameobject.h b/Include/frameobject.h
--- a/Include/frameobject.h
+++ b/Include/frameobject.h
@@ -36,7 +36,7 @@
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
--- a/Lib/test/test_frame.py
+++ b/Lib/test/test_frame.py
@@ -96,7 +96,7 @@
@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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list