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

Use context manager to open files #9

Open
jakobj opened this issue Aug 26, 2017 · 0 comments · May be fixed by #95
Open

Use context manager to open files #9

jakobj opened this issue Aug 26, 2017 · 0 comments · May be fixed by #95

Comments

@jakobj
Copy link
Member

jakobj commented Aug 26, 2017

Instead of f = open... one should use the context manager with open .. as f:

esigalas pushed a commit to esigalas/massmail that referenced this issue Aug 28, 2017
@otizonaizit otizonaizit linked a pull request Apr 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant