summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoonsNaibot <deguzouwa@yahoo.com>2014-09-20 11:34:31 -0500
committerBoonsNaibot <deguzouwa@yahoo.com>2014-09-20 11:34:31 -0500
commitfe001f8b1bd75628d42a942adfcb6f6ec8242014 (patch)
tree9743f96b12ef8400e66a981ad8744bc13758cf9b
parent602e9047a20122e00906ab61b0c7cf3e322225fc (diff)
downloadgreenlet-fe001f8b1bd75628d42a942adfcb6f6ec8242014.tar.gz
Update greenlet.txt
-rw-r--r--doc/greenlet.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/greenlet.txt b/doc/greenlet.txt
index 25290a8..a6982ab 100644
--- a/doc/greenlet.txt
+++ b/doc/greenlet.txt
@@ -394,7 +394,7 @@ Reference
``PyGreenlet *PyGreenlet_GET_PARENT(PyGreenlet *g)``
Macro that returns the parent greenlet of ``g``.
-``int PyGreenlet_SetParent(PyGreenlet *g)``
+``int PyGreenlet_SetParent(PyGreenlet *g, PyGreenlet *nparent)``
Set the parent greenlet of ``g``. Returns 0 for success. If -1 is returned,
then ``g`` is not a pointer to a PyGreenlet, and an AttributeError will
be raised.