New submission from Vajrasky Kok:
See the patch for details:
diff -r 438cdc97d8ee Include/frameobject.h
--- a/Include/frameobject.h Mon Aug 05 23:35:43 2013 +0200
+++ b/Include/frameobject.h Tue Aug 06 12:38:15 2013 +0800
@@ -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 -r 438cdc97d8ee Lib/test/test_frame.py
--- a/Lib/test/test_frame.py Mon Aug 05 23:35:43 2013 +0200
+++ b/Lib/test/test_frame.py Tue Aug 06 12:38:15 2013 +0800
@@ -93,7 +93,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
About the second comment, I am not sure to put dot or not. In that file, I saw
some comments use dot, others don't.
----------
assignee: docs@python
components: Documentation
messages: 194523
nosy: docs@python, pitrou, vajrasky
priority: normal
severity: normal
status: open
title: Typos in frame object related code
versions: Python 3.4
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18665>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com