diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2024-08-12 04:16:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 04:16:41 (GMT) |
commit | 253c6a0b2f88b3327b7113860b99d665346fe43c (patch) | |
tree | b7607792341c71e620151c1c9e4ad8ec6a7dbda5 /Lib/_pyrepl/unix_console.py | |
parent | 9375b9ca3a4998678ba74ff5c77ed540a4dcf887 (diff) | |
download | cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.zip cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.tar.gz cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.tar.bz2 |
Fix typos in comments and test code (#122846)
Diffstat (limited to 'Lib/_pyrepl/unix_console.py')
-rw-r--r-- | Lib/_pyrepl/unix_console.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_pyrepl/unix_console.py b/Lib/_pyrepl/unix_console.py index 18b2bba..7b8f5a0 100644 --- a/Lib/_pyrepl/unix_console.py +++ b/Lib/_pyrepl/unix_console.py @@ -109,7 +109,7 @@ delayprog = re.compile(b"\\$<([0-9]+)((?:/|\\*){0,2})>") try: poll: type[select.poll] = select.poll except AttributeError: - # this is exactly the minumum necessary to support what we + # this is exactly the minimum necessary to support what we # do with poll objects class MinimalPoll: def __init__(self): @@ -613,7 +613,7 @@ class UnixConsole(Console): # reuse the oldline as much as possible, but stop as soon as we # encounter an ESCAPE, because it might be the start of an escape - # sequene + # sequence while ( x_coord < minlen and oldline[x_pos] == newline[x_pos] |