MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/core/completer.py:372–383  ·  view source on GitHub ↗
(self, start: int, end: int, text: str, *, type: str=None, _origin='', signature='')

Source from the content-addressed store, hash-verified

370 __slots__ = ['start', 'end', 'text', 'type', 'signature', '_origin']
371
372 def __init__(self, start: int, end: int, text: str, *, type: str=None, _origin='', signature='') -> None:
373 warnings.warn("``Completion`` is a provisional API (as of IPython 6.0). "
374 "It may change without warnings. "
375 "Use in corresponding context manager.",
376 category=ProvisionalCompleterWarning, stacklevel=2)
377
378 self.start = start
379 self.end = end
380 self.text = text
381 self.type = type
382 self.signature = signature
383 self._origin = _origin
384
385 def __repr__(self):
386 return '<Completion start=%s end=%s text=%r type=%r, signature=%r,>' % \

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected