summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/terminal
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-11-09 12:07:32 +0300
committerrobot-piglet <[email protected]>2024-11-09 12:17:11 +0300
commit381a9a45520ba56577e90032e086e0168a03b956 (patch)
treef49a7f9feff6df2c4916cf20205e9c22cb26dfd2 /contrib/python/ipython/py3/IPython/terminal
parent66839121782766f516d9a33982e1968d319e3395 (diff)
Intermediate changes
commit_hash:2e32c346f257520a6c3629b88dc628744d3d3386
Diffstat (limited to 'contrib/python/ipython/py3/IPython/terminal')
-rw-r--r--contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_suggest.py2
-rw-r--r--contrib/python/ipython/py3/IPython/terminal/shortcuts/filters.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_suggest.py b/contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_suggest.py
index 65f91577ce9..94a94a88c1e 100644
--- a/contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_suggest.py
+++ b/contrib/python/ipython/py3/IPython/terminal/shortcuts/auto_suggest.py
@@ -77,7 +77,7 @@ class NavigableAutoSuggestFromHistory(AutoSuggestFromHistory):
def connect(self, pt_app: PromptSession):
self._connected_apps.append(pt_app)
# note: `on_text_changed` could be used for a bit different behaviour
- # on character deletion (i.e. reseting history position on backspace)
+ # on character deletion (i.e. resetting history position on backspace)
pt_app.default_buffer.on_text_insert.add_handler(self.reset_history_position)
pt_app.default_buffer.on_cursor_position_changed.add_handler(self._dismiss)
diff --git a/contrib/python/ipython/py3/IPython/terminal/shortcuts/filters.py b/contrib/python/ipython/py3/IPython/terminal/shortcuts/filters.py
index 7c9d6a9c41d..8e7c8d037c9 100644
--- a/contrib/python/ipython/py3/IPython/terminal/shortcuts/filters.py
+++ b/contrib/python/ipython/py3/IPython/terminal/shortcuts/filters.py
@@ -207,7 +207,7 @@ class PassThrough(Filter):
pass_through = PassThrough()
# these one is callable and re-used multiple times hence needs to be
-# only defined once beforhand so that transforming back to human-readable
+# only defined once beforehand so that transforming back to human-readable
# names works well in the documentation.
default_buffer_focused = has_focus(DEFAULT_BUFFER)