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 on pycode #4304

Merged
merged 1 commit into from Dec 15, 2017
Merged

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented Dec 15, 2017

This can reduce ResourceWarning like following:

  /home/travis/build/sphinx-doc/sphinx/sphinx/pycode/__init__.py:59: ResourceWarning: unclosed file <_io.BufferedReader name='/home/travis/build/sphinx-doc/sphinx/sphinx/ext/autodoc/__init__.py'>
    obj = cls.for_file(source, modname)

@tk0miya tk0miya merged commit 5c1a810 into sphinx-doc:master Dec 15, 2017
@tk0miya tk0miya deleted the fix_ResourceWarning branch December 15, 2017 12:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant