diff options
author | Alexey Borzenkov <snaury@gmail.com> | 2014-07-25 22:47:54 +0400 |
---|---|---|
committer | Alexey Borzenkov <snaury@gmail.com> | 2014-07-25 22:47:54 +0400 |
commit | 0f71e49cf62862c58c58035f187f59c5de5c0b2a (patch) | |
tree | daa091ca8e2eb67d4ef7563f4f911e26fa9333e3 | |
parent | 8875f98c62b83dac6c282139743872c98a4b53d6 (diff) | |
parent | cf0a42220199e1737a1426e43231b5a7781fcd68 (diff) | |
download | greenlet-0f71e49cf62862c58c58035f187f59c5de5c0b2a.tar.gz |
Merge pull request #53 from BoonsNaibot/patch-1
Fixed return type of `PyGreenlet_Switch`.
-rw-r--r-- | doc/greenlet.txt | 2 |
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 |