mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #20978: pyflakes: fix undefined names
This commit is contained in:
parent
790bd6dd13
commit
69b1e261fc
3 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue