Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6793cce1
Commit
6793cce1
authored
Jun 24, 2019
by
Xtreak
Committed by
Andrew Svetlov
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36889: Document asyncio Stream and StreamServer (GH-14203)
parent
6ffd9b05
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
280 additions
and
65 deletions
+280
-65
Doc/library/asyncio-eventloop.rst
Doc/library/asyncio-eventloop.rst
+1
-2
Doc/library/asyncio-protocol.rst
Doc/library/asyncio-protocol.rst
+2
-2
Doc/library/asyncio-stream.rst
Doc/library/asyncio-stream.rst
+277
-61
No files found.
Doc/library/asyncio-eventloop.rst
View file @
6793cce1
...
@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the
...
@@ -1625,8 +1625,7 @@ Wait until a file descriptor received some data using the
:meth:`loop.create_connection` method.
:meth:`loop.create_connection` method.
* Another similar :ref:`example <asyncio_example_create_connection-streams>`
* Another similar :ref:`example <asyncio_example_create_connection-streams>`
using the high-level :func:`asyncio.open_connection` function
using the high-level :func:`asyncio.connect` function and streams.
and streams.
.. _asyncio_example_unix_signals:
.. _asyncio_example_unix_signals:
...
...
Doc/library/asyncio-protocol.rst
View file @
6793cce1
...
@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
...
@@ -810,7 +810,7 @@ data, and waits until the connection is closed::
.. seealso::
.. seealso::
The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>`
The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>`
example uses the high-level :func:`asyncio.
open_connection
` function.
example uses the high-level :func:`asyncio.
connect
` function.
.. _asyncio-udp-echo-server-protocol:
.. _asyncio-udp-echo-server-protocol:
...
@@ -977,7 +977,7 @@ Wait until a socket receives data using the
...
@@ -977,7 +977,7 @@ Wait until a socket receives data using the
The :ref:`register an open socket to wait for data using streams
The :ref:`register an open socket to wait for data using streams
<asyncio_example_create_connection-streams>` example uses high-level streams
<asyncio_example_create_connection-streams>` example uses high-level streams
created by the :func:`
open_connection
` function in a coroutine.
created by the :func:`
asyncio.connect
` function in a coroutine.
.. _asyncio_example_subprocess_proto:
.. _asyncio_example_subprocess_proto:
...
...
Doc/library/asyncio-stream.rst
View file @
6793cce1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment