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 | 69b1e261fc703106b44095796d78ba6aacbbdb63 (patch) | |
tree | 1d441b56ebe2a0c0dae1010641898a031cc2e050 /Lib/tempfile.py | |
parent | 790bd6dd1322db0eba7635e86cfe3e54f6b04031 (diff) | |
download | cpython-git-69b1e261fc703106b44095796d78ba6aacbbdb63.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: |