diff options
| author | AlexSm <[email protected]> | 2024-11-14 18:02:48 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-14 18:02:48 +0100 |
| commit | 42393178e3ca660b7b2da431bc4c768aadafe856 (patch) | |
| tree | 846127355de5d4088b4eefcab801b15c1ec4e454 /contrib/python/ipython/py3/IPython/core/completer.py | |
| parent | c0af8d60b18390f8ef7b3ff878b822c43da62a54 (diff) | |
| parent | 51f34813686206b46686d84e96243def9f9da8df (diff) | |
Merge pull request #11568 from maximyurchuk/mergelibs-yurchuk-manual
Mergelibs yurchuk manual
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/completer.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/core/completer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/completer.py b/contrib/python/ipython/py3/IPython/core/completer.py index c639ce07a12..8f843dd5844 100644 --- a/contrib/python/ipython/py3/IPython/core/completer.py +++ b/contrib/python/ipython/py3/IPython/core/completer.py @@ -159,7 +159,7 @@ By default results from all matchers are combined, in the order determined by their priority. Matchers can request to suppress results from subsequent matchers by setting ``suppress`` to ``True`` in the ``MatcherResult``. -When multiple matchers simultaneously request surpression, the results from of +When multiple matchers simultaneously request suppression, the results from of the matcher with higher priority will be returned. Sometimes it is desirable to suppress most but not all other matchers; @@ -2652,7 +2652,7 @@ class IPCompleter(Completer): ) can_close_quote = can_close_quote and self.auto_close_dict_keys - # fast path if closing qoute should be appended but not suffix is allowed + # fast path if closing quote should be appended but not suffix is allowed if not can_close_quote and not can_close_bracket and closing_quote: return [leading + k for k in matches] |
