aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/pyshell.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/pyshell.py')
-rwxr-xr-xLib/idlelib/pyshell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index 60b63d58cdd..74a0e03994f 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -1350,7 +1350,7 @@ class PyShell(OutputWindow):
self.text.see("insert")
self.text.undo_block_stop()
- _last_newline_re = re.compile(r"[ \t]*(\n[ \t]*)?\Z")
+ _last_newline_re = re.compile(r"[ \t]*(\n[ \t]*)?\z")
def runit(self):
index_before = self.text.index("end-2c")
line = self.text.get("iomark", "end-1c")