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:
Christian Clauss 2021-10-07 01:13:48 +02:00 committed by GitHub
parent db693df3e1
commit 745c9d9dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 83 additions and 83 deletions

View file

@ -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, *,

View file

@ -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):