Skip to content

Commit 35f7fd9

Browse files
committed
Stackless issue python#198: Improve the soft-switchable extension functions
Add a reference to _asyncio._task_step_impl_stackless to the documentation.
1 parent e3001b5 commit 35f7fd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/c-api/stackless.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ To call it use
553553
:start-after: /*DO-NOT-REMOVE-OR-MODIFY-THIS-MARKER:ssf-example-start*/
554554
:end-before: /*DO-NOT-REMOVE-OR-MODIFY-THIS-MARKER:ssf-example-end*/
555555
556+
Another, more realistic example is :py:const:`_asyncio._task_step_impl_stackless`, defined in
557+
"Modules/_asynciomodules.c".
558+
556559
557560
.. [#] Actually "_PyStackless_TRY_STACKLESS" is a macro that expands to a C L-value. As long as
558561
|CPY| uses the GIL, this L-value is a global variable.

0 commit comments

Comments
 (0)