]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-108973: Fix asyncio SubprocessProtocol doc (#109431) (#109610)
authorVictor Stinner <vstinner@python.org>
Wed, 20 Sep 2023 14:15:08 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 14:15:08 +0000 (14:15 +0000)
commit336dbe56b292f26e14e70975401a3a954fcbd76b
tree4fe148d4dff299dcf8db1d509f7f8b423eb31453
parent17a335dd0291d09e1510157a4ebe02932ec632dd
[3.11] gh-108973: Fix asyncio SubprocessProtocol doc (#109431) (#109610)

gh-108973: Fix asyncio SubprocessProtocol doc (#109431)

SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the example in the doc.

Co-authored-by: Davide Rizzo <sorcio@gmail.com>
(cherry picked from commit ced6924630037f1e5b3d1dbef2b600152fb07fbb)
Doc/library/asyncio-llapi-index.rst
Doc/library/asyncio-protocol.rst