summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-14 22:51:51 (GMT)
committerGitHub <noreply@github.com>2020-05-14 22:51:51 (GMT)
commitedf2643bbb9859403239fe1cb3c212b1a2a8e65c (patch)
tree1338a4311c9e5583cc6c1f7a619a7e01b020e7ba /Lib
parent75d7257b201a56f950c20cd9f5753a83fff4742b (diff)
downloadcpython-edf2643bbb9859403239fe1cb3c212b1a2a8e65c.zip
cpython-edf2643bbb9859403239fe1cb3c212b1a2a8e65c.tar.gz
cpython-edf2643bbb9859403239fe1cb3c212b1a2a8e65c.tar.bz2
bpo-40460: Fix typo in idlelib/zzdummy.py (GH-20093)
Replace ztest with ztext.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/zzdummy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/zzdummy.py b/Lib/idlelib/zzdummy.py
index 8084499..3c4b1d2 100644
--- a/Lib/idlelib/zzdummy.py
+++ b/Lib/idlelib/zzdummy.py
@@ -28,7 +28,7 @@ class ZzDummy:
text = self.text
text.undo_block_start()
for line in range(1, text.index('end')):
- text.insert('%d.0', ztest)
+ text.insert('%d.0', ztext)
text.undo_block_stop()
return "break"