parameters: (family)
docstring: Return an arbitrary free address for the given family
docstring_summary: Return an arbitrary free address for the given family
docstring_tokens: Return an arbitrary free address for the given family
function: def arbitrary_address(family):
      '''
      Return an arbitrary free address for the given family
      '''
      if family == 'AF_INET':
          return ('localhost', 0)
      elif family == 'AF_UNIX':
          return tempfile.mktemp(prefix='listener-', dir=util.get_temp_dir())
      elif family == 'AF_PIPE':
          return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' %
                                 (os.getpid(), next(_mmap_counter)), dir="")
      else:
          raise ValueError('unrecognized family')
function_tokens: def arbitrary_address ( family ) : if family == 'AF_INET' : return ( 'localhost' , 0 ) elif family == 'AF_UNIX' : return tempfile . mktemp ( prefix = 'listener-' , dir = util . get_temp_dir ( ) ) elif family == 'AF_PIPE' : return tempfile . mktemp ( prefix = r'\\.\pipe\pyc-%d-%d-' % ( os . getpid ( ) , next ( _mmap_counter ) ) , dir = "" ) else : raise ValueError ( 'unrecognized family' )