summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IOBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-12-31 16:03:23 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-12-31 16:03:23 (GMT)
commit6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d (patch)
tree94c162d82dacd500b7e59403255c8af854b38f51 /Lib/idlelib/IOBinding.py
parent9532298c82d8384a6c469136ac87842990ec10dd (diff)
downloadcpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.zip
cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.gz
cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.bz2
Whitespace Normalization
Diffstat (limited to 'Lib/idlelib/IOBinding.py')
-rw-r--r--Lib/idlelib/IOBinding.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py
index a90157e..e5ae505 100644
--- a/Lib/idlelib/IOBinding.py
+++ b/Lib/idlelib/IOBinding.py
@@ -103,7 +103,7 @@ class IOBinding:
self.save_a_copy)
self.fileencoding = None
self.__id_print = self.text.bind("<<print-window>>", self.print_window)
-
+
def close(self):
# Undo command bindings
self.text.unbind("<<open-window-from-file>>", self.__id_open)
@@ -366,7 +366,7 @@ class IOBinding:
"# -*- coding: %s -*- \nto your file" % enc,
master = self.text)
return chars
-
+
def fixlastline(self):
c = self.text.get("end-2c")
if c != '\n':
@@ -403,10 +403,10 @@ class IOBinding:
output = "Printing command: %s\n" % repr(command) + output
tkMessageBox.showerror("Print status", output, master=self.text)
else: #no printing for this platform
- message="Printing is not enabled for this platform: %s" % platform
+ message="Printing is not enabled for this platform: %s" % platform
tkMessageBox.showinfo("Print status", message, master=self.text)
return "break"
-
+
opendialog = None
savedialog = None