Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add snippet for Python context manager (#1743)
## Why? Context managers are fairly frequently used in Python; they're also something of a Python-specfic construct. For example: ``` with open(filepath) as f: file_lines = f.readlines() ``` ## What? Add context manager statement, used with `snip with` and `with wrap`. `snip context` is a possible alternative name.
- Loading branch information