Skip to content

Commit 745c9d9

Browse files
cclaussterryjreedy
andauthoredOct 6, 2021
Fix typos in the Lib directory (pythonGH-28775)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent db693df commit 745c9d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+83
-83
lines changed
 

‎Lib/asyncio/events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ async def connect_read_pipe(self, protocol_factory, pipe):
479479
# The reason to accept file-like object instead of just file descriptor
480480
# is: we need to own pipe and close it at transport finishing
481481
# Can got complicated errors if pass f.fileno(),
482-
# close fd in pipe transport then close f and vise versa.
482+
# close fd in pipe transport then close f and vice versa.
483483
raise NotImplementedError
484484

485485
async def connect_write_pipe(self, protocol_factory, pipe):
@@ -492,7 +492,7 @@ async def connect_write_pipe(self, protocol_factory, pipe):
492492
# The reason to accept file-like object instead of just file descriptor
493493
# is: we need to own pipe and close it at transport finishing
494494
# Can got complicated errors if pass f.fileno(),
495-
# close fd in pipe transport then close f and vise versa.
495+
# close fd in pipe transport then close f and vice versa.
496496
raise NotImplementedError
497497

498498
async def subprocess_shell(self, protocol_factory, cmd, *,

‎Lib/asyncio/unix_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ def add_child_handler(self, pid, callback, *args):
13791379
def remove_child_handler(self, pid):
13801380
# asyncio never calls remove_child_handler() !!!
13811381
# The method is no-op but is implemented because
1382-
# abstract base classe requires it
1382+
# abstract base classes requires it
13831383
return True
13841384

13851385
def attach_loop(self, loop):

0 commit comments

Comments
 (0)