8000 gh-95451: Update docs for wasm32-emscripten and -wasi platforms by tiran · Pull Request #95452 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-95451: Update docs for wasm32-emscripten and -wasi platforms #95452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/includes/wasm-notavail.rst
8000
Original file line number Diff line numberDiff line change
@@ -0,0 +1,7 @@
.. include for modules that don't work on WASM

.. availability:: not Emscripten, not WASI.

This module does not work or is not available on WebAssembly platforms
``wasm32-emscripten`` and ``wasm32-wasi``. See
:ref:`wasm-availability` for more information.
1 change: 1 addition & 0 deletions Doc/library/asynchat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Typically an :class:`asyncore.dispatcher` server channel generates new
:class:`asynchat.async_chat` channel objects as it receives incoming
connection requests.

.. include:: ../includes/wasm-notavail.rst

.. class:: async_chat()

Expand Down
1 change: 1 addition & 0 deletions Doc/library/asyncio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Additionally, there are **low-level** APIs for
* :ref:`bridge <asyncio-futures>` callback-based libraries and code
with async/await syntax.

.. include:: ../includes/wasm-notavail.rst

.. We use the "rubric" directive here to avoid creating
the "Reference" subsection in the TOC.
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/asyncore.rst