mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
db693df3e1
commit
745c9d9dfc
64 changed files with 83 additions and 83 deletions
|
@ -479,7 +479,7 @@ class AbstractEventLoop:
|
|||
# The reason to accept file-like object instead of just file descriptor
|
||||
# is: we need to own pipe and close it at transport finishing
|
||||
# Can got complicated errors if pass f.fileno(),
|
||||
# close fd in pipe transport then close f and vise versa.
|
||||
# close fd in pipe transport then close f and vice versa.
|
||||
raise NotImplementedError
|
||||
|
||||
async def connect_write_pipe(self, protocol_factory, pipe):
|
||||
|
@ -492,7 +492,7 @@ class AbstractEventLoop:
|
|||
# The reason to accept file-like object instead of just file descriptor
|
||||
# is: we need to own pipe and close it at transport finishing
|
||||
# Can got complicated errors if pass f.fileno(),
|
||||
# close fd in pipe transport then close f and vise versa.
|
||||
# close fd in pipe transport then close f and vice versa.
|
||||
raise NotImplementedError
|
||||
|
||||
async def subprocess_shell(self, protocol_factory, cmd, *,
|
||||
|
|
|
@ -1379,7 +1379,7 @@ class ThreadedChildWatcher(AbstractChildWatcher):
|
|||
def remove_child_handler(self, pid):
|
||||
# asyncio never calls remove_child_handler() !!!
|
||||
# The method is no-op but is implemented because
|
||||
# abstract base classe requires it
|
||||
# abstract base classes requires it
|
||||
return True
|
||||
|
||||
def attach_loop(self, loop):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue