def getAutoCompleteList(command='', locals=None, includeMagic=1, includeSingle=1, includeDouble=1):
 attributes = []
 root = getRoot(command, terminator='.')
 try:
  if (locals is not None):
   object = eval(root, locals)
  else:
   object = eval(root)
 except Exception:
  pass
 else:
  attributes = getAttributeNames(object, includeMagic, includeSingle, includeDouble)
 return attributes

def getAutoCompleteList ( command = '' , locals = None , includeMagic = 1 , includeSingle = 1 , includeDouble = 1 ) : attributes = [ ] root = getRoot ( command , terminator = '.' ) try : if ( locals is not None ) : object = eval ( root , locals ) else : object = eval ( root ) except Exception : pass else : attributes = getAttributeNames ( object , includeMagic , includeSingle , includeDouble ) return attributes
return list of auto-completion options for command .