[Python-checkins] r87297 - in python/branches/py3k: Doc/library/inspect.rst Doc/whatsnew/3.2.rst Misc/NEWS

raymond.hettinger python-checkins at python.org
Thu Dec 16 01:30:53 CET 2010


Author: raymond.hettinger
Date: Thu Dec 16 01:30:53 2010
New Revision: 87297

Log:
Nits

Modified:
   python/branches/py3k/Doc/library/inspect.rst
   python/branches/py3k/Doc/whatsnew/3.2.rst
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Doc/library/inspect.rst
==============================================================================
--- python/branches/py3k/Doc/library/inspect.rst	(original)
+++ python/branches/py3k/Doc/library/inspect.rst	Thu Dec 16 01:30:53 2010
@@ -630,17 +630,17 @@
 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

Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst	Thu Dec 16 01:30:53 2010
@@ -1311,7 +1311,7 @@
 * 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`.)
 
 

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Thu Dec 16 01:30:53 2010
@@ -2195,7 +2195,7 @@
 - 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.
 


More information about the Python-checkins mailing list