diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index a40a422..3071128 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -188,16 +188,6 @@ class ReadlineNoRecord(object): ghi = self.shell.readline.get_history_item return [ghi(x) for x in range(start, end)] - -_autocall_help = """ -Make IPython automatically call any callable object even if -you didn't type explicit parentheses. For example, 'str 43' becomes 'str(43)' -automatically. The value can be '0' to disable the feature, '1' for 'smart' -autocall, where it is not applied if there are no more arguments on the line, -and '2' for 'full' autocall, where all callable objects are automatically -called (even if no arguments are present). The default is '1'. -""" - #----------------------------------------------------------------------------- # Main IPython class #----------------------------------------------------------------------------- @@ -207,7 +197,7 @@ class InteractiveShell(SingletonConfigurable, Magic): _instance = None - autocall = Enum((0,1,2), default_value=1, config=True, help= + autocall = Enum((0,1,2), default_value=0, config=True, help= """ Make IPython automatically call any callable object even if you didn't type explicit parentheses. For example, 'str 43' becomes 'str(43)' @@ -215,7 +205,6 @@ class InteractiveShell(SingletonConfigurable, Magic): 'smart' autocall, where it is not applied if there are no more arguments on the line, and '2' for 'full' autocall, where all callable objects are automatically called (even if no arguments are present). - The default is '1'. """ ) # TODO: remove all autoindent logic and put into frontends.