def code_assist(project, source_code, offset, resource=None, templates=None, maxfixes=1, later_locals=True):
 if (templates is not None):
  warnings.warn('Codeassist no longer supports templates', DeprecationWarning, stacklevel=2)
 assist = _PythonCodeAssist(project, source_code, offset, resource=resource, maxfixes=maxfixes, later_locals=later_locals)
 return assist()

def code_assist ( project , source_code , offset , resource = None , templates = None , maxfixes = 1 , later_locals = True ) : if ( templates is not None ) : warnings . warn ( 'Codeassist no longer supports templates' , DeprecationWarning , stacklevel = 2 ) assist = _PythonCodeAssist ( project , source_code , offset , resource = resource , maxfixes = maxfixes , later_locals = later_locals ) return assist ( )
return python code completions as a list of codeassistproposals resource is a rope .