mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
asyncio: Fix spelling and typos.
Thanks to Vajrasky Kok for discovering some of them.
This commit is contained in:
parent
74d519fcc6
commit
dec1a45fd1
13 changed files with 18 additions and 19 deletions
|
@ -235,7 +235,7 @@ class AbstractEventLoop:
|
|||
sock=None, backlog=100, ssl=None):
|
||||
"""A coroutine which creates a UNIX Domain Socket server.
|
||||
|
||||
The return valud is a Server object, which can be used to stop
|
||||
The return value is a Server object, which can be used to stop
|
||||
the service.
|
||||
|
||||
path is a str, representing a file systsem path to bind the
|
||||
|
@ -260,7 +260,7 @@ class AbstractEventLoop:
|
|||
# Pipes and subprocesses.
|
||||
|
||||
def connect_read_pipe(self, protocol_factory, pipe):
|
||||
"""Register read pipe in eventloop.
|
||||
"""Register read pipe in event loop.
|
||||
|
||||
protocol_factory should instantiate object with Protocol interface.
|
||||
pipe is file-like object already switched to nonblocking.
|
||||
|
@ -273,7 +273,7 @@ class AbstractEventLoop:
|
|||
raise NotImplementedError
|
||||
|
||||
def connect_write_pipe(self, protocol_factory, pipe):
|
||||
"""Register write pipe in eventloop.
|
||||
"""Register write pipe in event loop.
|
||||
|
||||
protocol_factory should instantiate object with BaseProtocol interface.
|
||||
Pipe is file-like object already switched to nonblocking.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue