def load(self, filename=None):
self.check_filename(filename)
fh = None
try:
# todo..
except (EnvironmentError, pickle.PicklingError) as err:
raise LoadError(str(err))
finally:
if fh is not None:
fh.close()
评论列表
文章目录