diff options
author | Raymond Hettinger <python@rcn.com> | 2010-12-16 00:30:53 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-12-16 00:30:53 (GMT) |
commit | 48f3bd331cd798ba0aa0061713aead0466c0b970 (patch) | |
tree | 24e2cf98ba9a8c8a40f0a1e54fb657976d311f3d | |
parent | 055d2e0da4d8a2cb40d84fa99ceda85443680e9c (diff) | |
download | cpython-48f3bd331cd798ba0aa0061713aead0466c0b970.zip cpython-48f3bd331cd798ba0aa0061713aead0466c0b970.tar.gz cpython-48f3bd331cd798ba0aa0061713aead0466c0b970.tar.bz2 |
Nits
-rw-r--r-- | Doc/library/inspect.rst | 14 | ||||
-rw-r--r-- | Doc/whatsnew/3.2.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 4845bca..a95e16f 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -630,17 +630,17 @@ Current State of a Generator When implementing coroutine schedulers and for other advanced uses of generators, it is useful to determine whether a generator is currently executing, is waiting to start or resume or execution, or has already -terminated. func:`getgeneratorstate` allows the current state of a +terminated. :func:`getgeneratorstate` allows the current state of a generator to be determined easily. .. function:: getgeneratorstate(generator) - Get current state of a generator-iterator. + Get current state of a generator-iterator. - Possible states are: - GEN_CREATED: Waiting to start execution. - GEN_RUNNING: Currently being executed by the interpreter. - GEN_SUSPENDED: Currently suspended at a yield expression. - GEN_CLOSED: Execution has completed. + Possible states are: + - GEN_CREATED: Waiting to start execution. + - GEN_RUNNING: Currently being executed by the interpreter. + - GEN_SUSPENDED: Currently suspended at a yield expression. + - GEN_CLOSED: Execution has completed. .. versionadded:: 3.2 diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index b2dc01f..4e6384e 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1311,7 +1311,7 @@ Multi-threading * Regular and recursive lock acquisitions can now be interrupted by signals on platforms using pthreads. This means that Python programs that deadlock while acquiring locks can be successfully killed by repeatedly sending SIGINT to the - process (ie, by pressing Ctl+C in most shells). + process (by pressing Ctl+C in most shells). (Contributed by Reid Kleckner; :issue:`8844`.) @@ -2195,7 +2195,7 @@ Library - Issue #8897: Fix sunau module, use bytes to write the header. Patch written by Thomas Jollans. -- Issue #8899: time.struct_time now has class and atribute docstrings. +- Issue #8899: time.struct_time now has class and attribute docstrings. - Issue #6470: Drop UNC prefix in FixTk. |