-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SafeCloseable context manager wrapper (#5251)
* Add SafeCloseable wrapper * Add SafeCloseable test * Extend JObjectWrapper * Polish * Polish * Apply suggestions from code review Per @chipkent. Co-authored-by: Chip Kent <5250374+chipkent@users.noreply.github.com> * Document assumption * Polish pydoc Co-authored-by: Chip Kent <5250374+chipkent@users.noreply.github.com> * Change SafeCloseable to AutoCloseable --------- Co-authored-by: Chip Kent <5250374+chipkent@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters