original_docstring: Export the data as an exportable dict
docstring: Export the data as an exportable dict
docstring_tokens: Export the data as an exportable dict
code: def to_dict(self):
          """Export the data as an exportable dict"""
          result = [
              (ip_addr, collections.OrderedDict((
                  (kind, sorted(values)) for kind, values in sorted(opts.items())
              )))
              for ip_addr, opts in self.addr_opts.items()
          ]
          result.sort(key=lambda x: ip_sort_key(x[0]))
          return collections.OrderedDict(result)
code_tokens: def to_dict ( self ) : result = [ ( ip_addr , collections . OrderedDict ( ( ( kind , sorted ( values ) ) for kind , values in sorted ( opts . items ( ) ) ) ) ) for ip_addr , opts in self . addr_opts . items ( ) ] result . sort ( key = lambda x : ip_sort_key ( x [ 0 ] ) ) return collections . OrderedDict ( result )
short_docstring: Export the data as an exportable dict
short_docstring_tokens: Export the data as an exportable dict
comment: """Export the data as an exportable dict"""