Files
codeql/python/ql/test/library-tests/PointsTo/new/code/f_finally.py
2018-11-19 15:15:54 +00:00

12 lines
289 B
Python

class Queue(object):
def close(self):
self._closed = True
try:
self._reader.close()
finally:
close = self._close
if close:
self._close = None
close() # FP was here: None on exceptional branch