mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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
|
# Fallback. All we need is something that raises OSError if the
|
||||||
# file doesn't exist.
|
# file doesn't exist.
|
||||||
def _stat(fn):
|
def _stat(fn):
|
||||||
try:
|
f = open(fn)
|
||||||
f = open(fn)
|
|
||||||
except OSError:
|
|
||||||
raise OSError
|
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
def _exists(fn):
|
def _exists(fn):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue