Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)
(cherry picked from commit 0acb646b8e405864224bfd6d7d5089980dea63ac)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
diff --git a/Lib/idlelib/pyparse.py b/Lib/idlelib/pyparse.py
index 81e7f53..feb57cb 100644
--- a/Lib/idlelib/pyparse.py
+++ b/Lib/idlelib/pyparse.py
@@ -575,7 +575,7 @@
return code[i:j]
def is_block_opener(self):
- "Return True if the last interesting statemtent opens a block."
+ "Return True if the last interesting statement opens a block."
self._study2()
return self.lastch == ':'