Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ResourceWarning: unclosed file #681

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Fix ResourceWarning: unclosed file #681

merged 1 commit into from
Jan 8, 2019

Conversation

BoboTiG
Copy link
Contributor

@BoboTiG BoboTiG commented Jan 5, 2019

Use the with context manager to prevent resource leaks.

Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
@yanglbme yanglbme merged commit 2d70e9f into TheAlgorithms:master Jan 8, 2019
@BoboTiG BoboTiG deleted the fix-resource-leaks branch January 8, 2019 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants