mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix typos in comments and test code (#122846)
This commit is contained in:
parent
9375b9ca3a
commit
253c6a0b2f
18 changed files with 28 additions and 28 deletions
|
@ -91,7 +91,7 @@ def build_menu(
|
|||
# D E F B E
|
||||
# G C F
|
||||
#
|
||||
# "fill" the table with empty words, so we always have the same amout
|
||||
# "fill" the table with empty words, so we always have the same amount
|
||||
# of rows for each column
|
||||
missing = cols*rows - len(wordlist)
|
||||
wordlist = wordlist + ['']*missing
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -231,7 +231,7 @@ class WindowsConsole(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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue