class_docstr: `Completion` objects are returned from :meth:`api.Script.completions`. They
  provide additional information about a completion.
class_docstr_tok: ["`","Completion","`","objects","are","returned","from",":","meth",":","`","api.Script.completions","`",".","They","provide","additional","information","about","a","completion","."]
docstr: Return the rest of the word, e.g. completing ``isinstance``::
  
      isinstan# <-- Cursor is here
  
  would return the string 'ce'. It also adds additional stuff, depending
  on your `settings.py`.
  
  Assuming the following function definition::
  
      def foo(param=0):
          pass
  
  completing ``foo(par`` would give a ``Completion`` which `complete`
  would be `am=`
docstr_tok: ["Return","the","rest","of","the","word",",","e.g",".","completing","``","isinstance","``",":",":","isinstan","#","<","--","Cursor","is","here","would","return","the","string","'ce","'",".","It","also","adds","additional","stuff",",","depending","on","your","`","settings.py","`",".","Assuming","the","following","function","definition",":",":","def","foo","(","param=0",")",":","pass","completing","``","foo","(","par","``","would","give","a","``","Completion","``","which","`","complete","`","would","be","`","am=","`"]
code: def complete(self):
      """
      Return the rest of the word, e.g. completing ``isinstance``::
  
          isinstan# <-- Cursor is here
  
      would return the string 'ce'. It also adds additional stuff, depending
      on your `settings.py`.
  
      Assuming the following function definition::
  
          def foo(param=0):
              pass
  
      completing ``foo(par`` would give a ``Completion`` which `complete`
      would be `am=`
  
  
      """
      return self._complete(True)
  
imports: import re
  from parso.python.tree import search_ancestor
  from jedi import settings
  from jedi.evaluate.utils import ignored, unite
  from jedi.cache import memoize_method
  from jedi.evaluate import imports
  from jedi.evaluate import compiled
  from jedi.evaluate.imports import ImportName
  from jedi.evaluate.context import instance
  from jedi.evaluate.context import ClassContext, FunctionExecutionContext
  from jedi.api.keywords import KeywordName
label_desc: Use image node_id 3 for calling the Completion obj's underlying member method code with example usage: obj.complete() and returns: self