nl: self.parse_name, assign the result to _, ser_fmt and cmp_fmt, respectively. get the value under the cmp_fmt key of the self.compression_formats dictionary, assign it to open_method and mode.
code: open_method , mode = self . compression_formats [ cmp_fmt ]