Skip to content

Commit

Permalink
Fix unused import and spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Oct 31, 2023
1 parent 928865c commit df22756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newsfragments/2407.feature.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Added the ``trio.__main__`` module. This module runs a modifed Python REPL that
Added the ``trio.__main__`` module. This module runs a modified Python REPL that
supports directly awaiting Trio-based awaitables. It can be invoked by running
``python -m trio`` at the command line.

Expand Down
2 changes: 1 addition & 1 deletion trio/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def main(repl_locals):

if __name__ == "__main__":
with contextlib.suppress(ModuleNotFoundError):
import readline
pass

Check warning on line 89 in trio/__main__.py

View check run for this annotation

Codecov / codecov/patch

trio/__main__.py#L89

Added line #L89 was not covered by tests

repl_locals = {"trio": trio}

Check warning on line 91 in trio/__main__.py

View check run for this annotation

Codecov / codecov/patch

trio/__main__.py#L91

Added line #L91 was not covered by tests
for key in {
Expand Down

0 comments on commit df22756

Please sign in to comment.