summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoonsNaibot <deguzouwa@yahoo.com>2014-07-25 13:30:43 -0500
committerBoonsNaibot <deguzouwa@yahoo.com>2014-07-25 13:30:43 -0500
commitcf0a42220199e1737a1426e43231b5a7781fcd68 (patch)
treedaa091ca8e2eb67d4ef7563f4f911e26fa9333e3
parent8875f98c62b83dac6c282139743872c98a4b53d6 (diff)
downloadgreenlet-cf0a42220199e1737a1426e43231b5a7781fcd68.tar.gz
Fixed return type of `PyGreenlet_Switch`.
-rw-r--r--doc/greenlet.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/greenlet.txt b/doc/greenlet.txt
index ac346bf..9ec22ea 100644
--- a/doc/greenlet.txt
+++ b/doc/greenlet.txt
@@ -370,7 +370,7 @@ Reference
greenlet will be created, but will fail if switched in. If ``parent`` is
NULL, the parent is automatically set to the current greenlet.
-``PyGreenlet *PyGreenlet_Switch(PyGreenlet *g, PyObject *args, PyObject *kwargs)``
+``PyObject *PyGreenlet_Switch(PyGreenlet *g, PyObject *args, PyObject *kwargs)``
Switches to the greenlet ``g``. ``args`` and ``kwargs`` are optional and
can be NULL. If ``args`` is NULL, an empty tuple is passed to the target
greenlet. If kwargs is NULL, no keyword arguments are passed to the target