diff --git a/python/eccodes/high_level/codesfile.py b/python/eccodes/high_level/codesfile.py index 261a097f0..b80f8127f 100644 --- a/python/eccodes/high_level/codesfile.py +++ b/python/eccodes/high_level/codesfile.py @@ -45,7 +45,7 @@ class CodesFile(file): self.open_messages = [] def __exit__(self, exception_type, exception_value, traceback): - """Close all open messages, release GRIB file handle and close file.""" + """Close all open messages, release file handle and close file.""" while self.open_messages: self.open_messages.pop().close() self.file_handle.close()