summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/tkFileDialog.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
commit182b5aca27d376b08a2904bed42b751496f932f3 (patch)
treedf13115820dbc879c0fe2eae488c9f8c0215a7da /Lib/lib-tk/tkFileDialog.py
parente6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff)
downloadcpython-182b5aca27d376b08a2904bed42b751496f932f3.zip
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Lib/lib-tk/tkFileDialog.py')
-rw-r--r--Lib/lib-tk/tkFileDialog.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/lib-tk/tkFileDialog.py b/Lib/lib-tk/tkFileDialog.py
index c2c661c..a35feed 100644
--- a/Lib/lib-tk/tkFileDialog.py
+++ b/Lib/lib-tk/tkFileDialog.py
@@ -131,8 +131,8 @@ def asksaveasfilename(**options):
def askopenfilenames(**options):
"""Ask for multiple filenames to open
-
- Returns a list of filenames or empty list if
+
+ Returns a list of filenames or empty list if
cancel button selected
"""
options["multiple"]=1
@@ -151,8 +151,8 @@ def askopenfile(mode = "r", **options):
def askopenfiles(mode = "r", **options):
"""Ask for multiple filenames and return the open file
objects
-
- returns a list of open file objects or an empty list if
+
+ returns a list of open file objects or an empty list if
cancel selected
"""
@@ -204,7 +204,7 @@ if __name__ == "__main__":
fp=open(openfilename,"r")
fp.close()
except:
- print "Could not open File: "
+ print "Could not open File: "
print sys.exc_info()[1]
print "open", openfilename.encode(enc)
@@ -213,4 +213,3 @@ if __name__ == "__main__":
saveasfilename=asksaveasfilename()
print "saveas", saveasfilename.encode(enc)
-