diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 2f0ad6b..ccb1f46 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -1141,7 +1141,6 @@ class IPCompleter(Completer): # _greedy_changed() depends on splitter and readline being defined: super().__init__( - self, namespace=namespace, global_namespace=global_namespace, config=config, diff --git a/IPython/core/magics/namespace.py b/IPython/core/magics/namespace.py index 57a05d7..426c3b8 100644 --- a/IPython/core/magics/namespace.py +++ b/IPython/core/magics/namespace.py @@ -482,14 +482,18 @@ class NamespaceMagics(Magics): Parameters ---------- - -f : force reset without asking for confirmation. - -s : 'Soft' reset: Only clears your namespace, leaving history intact. + -f + force reset without asking for confirmation. + -s + 'Soft' reset: Only clears your namespace, leaving history intact. References to objects may be kept. By default (without this option), we do a 'hard' reset, giving you a new session and removing all references to objects from the current session. - --aggressive : Try to aggressively remove modules from sys.modules ; this + --aggressive + Try to aggressively remove modules from sys.modules ; this may allow you to reimport Python modules that have been updated and pick up changes, but can have unattended consequences. + in : reset input history out : reset output history dhist : reset directory history