[py-svn] r37646 - py/trunk/py/doc

arigo at codespeak.net arigo at codespeak.net
Wed Jan 31 00:29:46 CET 2007


Author: arigo
Date: Wed Jan 31 00:29:45 2007
New Revision: 37646

Modified:
   py/trunk/py/doc/greenlet.txt
Log:
Wording, and missing attribute in the greenlet documentation.


Modified: py/trunk/py/doc/greenlet.txt
==============================================================================
--- py/trunk/py/doc/greenlet.txt	(original)
+++ py/trunk/py/doc/greenlet.txt	Wed Jan 31 00:29:45 2007
@@ -229,7 +229,7 @@
     sent to its parent.  If ``run()`` terminates with an exception, the
     exception is propagated to its parent (unless it is a
     ``greenlet.GreenletExit`` exception, in which case the exception
-    object itself is sent to the parent).
+    object is caught and *returned* to the parent).
 
 Apart from the cases described above, the target greenlet normally
 receives the object as the return value of the call to ``switch()`` in
@@ -263,6 +263,9 @@
 ``g.gr_frame``
     The current top frame, or None.
 
+``g.dead``
+    True if ``g`` is dead (i.e. it finished its execution).
+
 ``bool(g)``
     True if ``g`` is active, False if it is dead or not yet started.
 


More information about the py-svn mailing list