Skip to content

Commit

Permalink
Fix py37, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Oct 13, 2023
1 parent 1967d14 commit 40ee558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ This is especially true when using [`trio`](https://github.com/python-trio/trio)

Since this pattern can often be quite syntactically cumbersome, Coconut provides the shortcut syntax
```
async with for aclosing(my_generator()) as values:
async with for value in aclosing(my_generator()):
...
```
which compiles to exactly the pattern above.
Expand Down
2 changes: 1 addition & 1 deletion coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_path_env_var(env_var, default):
and sys.version_info[:2] != (3, 7)
)
MYPY = (
PY37
PY38
and not WINDOWS
and not PYPY
)
Expand Down

0 comments on commit 40ee558

Please sign in to comment.