##// END OF EJS Templates
Remove unused return_jedi_results parameter
Thomas Kluyver -
Show More
@@ -1931,7 +1931,7 b' class IPCompleter(Completer):'
1931 return self._complete(line_buffer=line_buffer, cursor_pos=cursor_pos, text=text, cursor_line=0)[:2]
1931 return self._complete(line_buffer=line_buffer, cursor_pos=cursor_pos, text=text, cursor_line=0)[:2]
1932
1932
1933 def _complete(self, *, cursor_line, cursor_pos, line_buffer=None, text=None,
1933 def _complete(self, *, cursor_line, cursor_pos, line_buffer=None, text=None,
1934 full_text=None, return_jedi_results=True) -> Tuple[str, List[str], List[str], Iterable[_FakeJediCompletion]]:
1934 full_text=None) -> Tuple[str, List[str], List[str], Iterable[_FakeJediCompletion]]:
1935 """
1935 """
1936
1936
1937 Like complete but can also returns raw jedi completions as well as the
1937 Like complete but can also returns raw jedi completions as well as the
@@ -1997,7 +1997,7 b' class IPCompleter(Completer):'
1997 # simply collapse the dict into a list for readline, but we'd have
1997 # simply collapse the dict into a list for readline, but we'd have
1998 # richer completion semantics in other evironments.
1998 # richer completion semantics in other evironments.
1999 completions = ()
1999 completions = ()
2000 if self.use_jedi and return_jedi_results:
2000 if self.use_jedi:
2001 if not full_text:
2001 if not full_text:
2002 full_text = line_buffer
2002 full_text = line_buffer
2003 completions = self._jedi_matches(
2003 completions = self._jedi_matches(
General Comments 0
You need to be logged in to leave comments. Login now