diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:50:52 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:50:52 +0100 |
commit | 1578d17dc0ad7a0179045aefeb2dfd8c67b3720b (patch) | |
tree | df846a4245fc1edf17da14f3cda94a5b42e054cf /Lib/tempfile.py | |
parent | 49996b444d09db64fe323033154c7eae970b0f02 (diff) | |
download | cpython-1578d17dc0ad7a0179045aefeb2dfd8c67b3720b.tar.gz |
Issue #20978: pyflakes: fix undefined names
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r-- | Lib/tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 05d4cabe60..57e8a829ec 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -72,7 +72,7 @@ else: # file doesn't exist. def _stat(fn): fd = _os.open(fn, _os.O_RDONLY) - os.close(fd) + _os.close(fd) def _exists(fn): try: |