Skip to content

Commit 0de0efe

Browse files
author
Anselm Kruis
committed
Fix the documentation of the method signature of stackless.tasklet()
It is stackless.tasklet(func, args, kwargs) not stackless.tasklet(callable, args, kwargs). (grafted from 41e16a7a480fcc1362fcd1d1e932492175fb9bf1)
1 parent 7bdf9c6 commit 0de0efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stackless/tasklets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Example - how many tasklets are scheduled::
6363
The ``tasklet`` class
6464
---------------------
6565

66-
.. class:: tasklet(callable=None, args=None, kwargs=None)
66+
.. class:: tasklet(func=None, args=None, kwargs=None)
6767

6868
This class exposes the form of lightweight thread (the tasklet) provided by
6969
|SLP|. Wrapping a callable object and arguments to pass into

0 commit comments

Comments
 (0)