From 9979ae01741e68bee5c3672ab8581b82aa459dab 2014-07-05 21:13:53 From: Thomas Kluyver Date: 2014-07-05 21:13:53 Subject: [PATCH] Remove some unhelpful info from IPython.core.completer --- diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 71df7e1..4dc7404 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -80,6 +80,7 @@ from IPython.core.error import TryNext from IPython.core.inputsplitter import ESC_MAGIC from IPython.utils import generics from IPython.utils import io +from IPython.utils.decorators import undoc from IPython.utils.dir2 import dir2 from IPython.utils.process import arg_split from IPython.utils.py3compat import builtin_mod, string_types @@ -216,7 +217,7 @@ def penalize_magics_key(word): return word - +@undoc class Bunch(object): pass @@ -1010,9 +1011,6 @@ class IPCompleter(Completer): def complete(self, text=None, line_buffer=None, cursor_pos=None): """Find completions for the given text and line context. - This is called successively with state == 0, 1, 2, ... until it - returns None. The completion should begin with 'text'. - Note that both the text and the line_buffer are optional, but at least one of them must be given.