parameters: (ips)
return_statement: return list(d.values())
docstring: deduplicate by address,port
docstring_summary: deduplicate by address,port
docstring_tokens: deduplicate by address port
function: def dedup(ips):
      '''deduplicate by address,port'''
      d = {}
      for ip in ips:
          d[ip['ip'],ip['port']] = ip
      return list(d.values())
function_tokens: def dedup ( ips ) : d = { } for ip in ips : d [ ip [ 'ip' ] , ip [ 'port' ] ] = ip return list ( d . values ( ) )