mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove no-op code from previous commit.
This commit is contained in:
parent
68f71a34f4
commit
46f5d146c1
1 changed files with 1 additions and 4 deletions
|
@ -87,10 +87,7 @@ else:
|
|||
# Fallback. All we need is something that raises OSError if the
|
||||
# file doesn't exist.
|
||||
def _stat(fn):
|
||||
try:
|
||||
f = open(fn)
|
||||
except OSError:
|
||||
raise OSError
|
||||
f = open(fn)
|
||||
f.close()
|
||||
|
||||
def _exists(fn):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue