Skip to content

Commit 91d2c35

Browse files
Fix various typos.
1 parent 44f0c6e commit 91d2c35

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ New features:
191191
- Optional pager for displaying outputs that don't fit on the screen.
192192
- Added --light-bg and --dark-bg flags to automatically optimize the brightness
193193
of the colors according to the terminal background.
194-
- Addd `PTPYTHON_CONFIG_HOME` for explicitely setting the config directory.
194+
- Add `PTPYTHON_CONFIG_HOME` for explicitly setting the config directory.
195195
- Show completion suffixes (like '(' for functions).
196196

197197
Fixes:

ptpython/completer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def get_completions(
259259
# See: https://github.com/jonathanslenders/ptpython/issues/223
260260
pass
261261
except Exception:
262-
# Supress all other Jedi exceptions.
262+
# Suppress all other Jedi exceptions.
263263
pass
264264
else:
265265
# Move function parameters to the top.
@@ -367,7 +367,7 @@ def __init__(
367367
rf"""
368368
{expression}
369369
370-
# Dict loopup to complete (square bracket open + start of
370+
# Dict lookup to complete (square bracket open + start of
371371
# string).
372372
\[
373373
\s* ([^\[\]]*)$
@@ -380,7 +380,7 @@ def __init__(
380380
rf"""
381381
{expression}
382382
383-
# Attribute loopup to complete (dot + varname).
383+
# Attribute lookup to complete (dot + varname).
384384
\.
385385
\s* ([a-zA-Z0-9_]*)$
386386
""",

ptpython/python_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def __init__(
379379
self.options = self._create_options()
380380
self.selected_option_index: int = 0
381381

382-
#: Incremeting integer counting the current statement.
382+
#: Incrementing integer counting the current statement.
383383
self.current_statement_index: int = 1
384384

385385
# Code signatures. (This is set asynchronously after a timeout.)
@@ -835,7 +835,7 @@ def get_values() -> dict[str, Callable[[], bool]]:
835835
[
836836
simple_option(
837837
title="Syntax highlighting",
838-
description="Use colors for syntax highligthing",
838+
description="Use colors for syntax highlighting",
839839
field_name="enable_syntax_highlighting",
840840
),
841841
simple_option(

ptpython/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def get_jedi_script_from_document(
9191
# Workaround Jedi issue #514: for https://github.com/davidhalter/jedi/issues/514
9292
return None
9393
except KeyError:
94-
# Workaroud for a crash when the input is "u'", the start of a unicode string.
94+
# Workaround for a crash when the input is "u'", the start of a unicode string.
9595
return None
9696
except Exception:
9797
# Workaround for: https://github.com/jonathanslenders/ptpython/issues/91

0 commit comments

Comments
 (0)