diff --git a/IPython/core/completer.py b/IPython/core/completer.py index cb298c2..8ebf126 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -416,14 +416,14 @@ class IPCompleter(Completer): When 0: nothing will be excluded. """ ) - limit_to__all__ = Enum((0,1), default_value=0, config=True, + limit_to__all__ = CBool(default_value=False, config=True, help="""Instruct the completer to use __all__ for the completion Specifically, when completing on ``object.``. - When 1: only those names in obj.__all__ will be included. + When True: only those names in obj.__all__ will be included. - When 0 [default]: the values in the __all__ attribute are ignored + When False [default]: the __all__ attribute is ignored """ ) diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 7165024..ed867a7 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -3753,13 +3753,12 @@ Defaulting color scheme to 'NoColor'""" Whether to merge completion results into a single list If False, only the completion results from the first non-empty completer will be returned. - IPCompleter.limit_to__all__= - Current: 0 - Choices: (0, 1) + IPCompleter.limit_to__all__= + Current: False Instruct the completer to use __all__ for the completion Specifically, when completing on ``object.``. - When 1: only those names in obj.__all__ will be included. - When 0 [default]: the values in the __all__ attribute are ignored + When True: only those names in obj.__all__ will be included. + When False [default]: the __all__ attribute is ignored IPCompleter.greedy= Current: False Activate greedy completion