Lines Matching +refs:add +refs:completions +refs:from +refs:file
6 " Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim
30 " * Removed newline removal from docs. It appears vim handles these better in
35 " * Removed the 'kind' completions, as they are better indicated
70 "findstart = 0 when we need to return the list of completions
94 from token import NAME, DEDENT, NEWLINE, STRING
215 completions = []
245 completions.append(c)
249 return completions
264 def add(self,sub):
331 c.add(s.copy_decl(indent+1))
456 elif token == 'open' or token == 'file':
457 return 'file'
516 newscope.add(ns)
545 self.scope = self.scope.add(func)
553 self.scope = self.scope.add(cls)
562 elif token == 'from':
565 print("from: syntax error...")
569 loc = "from %s import %s" % (mod,name)