Skip to content

Commit 93dae90

Browse files
committed
Fix typos
1 parent fd43312 commit 93dae90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IPython/terminal/shortcuts/auto_suggest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def disconnect(self):
7777
def connect(self, pt_app: PromptSession):
7878
self._connected_apps.append(pt_app)
7979
# note: `on_text_changed` could be used for a bit different behaviour
80-
# on character deletion (i.e. reseting history position on backspace)
80+
# on character deletion (i.e. resetting history position on backspace)
8181
pt_app.default_buffer.on_text_insert.add_handler(self.reset_history_position)
8282
pt_app.default_buffer.on_cursor_position_changed.add_handler(self._dismiss)
8383

IPython/terminal/shortcuts/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def __call__(self):
207207
pass_through = PassThrough()
208208

209209
# these one is callable and re-used multiple times hence needs to be
210-
# only defined once beforhand so that transforming back to human-readable
210+
# only defined once beforehand so that transforming back to human-readable
211211
# names works well in the documentation.
212212
default_buffer_focused = has_focus(DEFAULT_BUFFER)
213213

0 commit comments

Comments
 (0)