Files
openide/python/testData/codeInsight/controlflow/tryfinally.py
T

8 lines
143 B
Python

status = None
try:
status = open('/proc/self/status', 'r')
finally:
if status is not None:
print('opened: %r' % status)
status.close()