projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a7a0d
)
Fix example in a docstring to not use 'file' as a variable name
author
Andrew M. Kuchling
<amk@amk.ca>
Tue, 21 Jan 2003 14:19:21 +0000
(14:19 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Tue, 21 Jan 2003 14:19:21 +0000
(14:19 +0000)
Lib/lib-tk/FileDialog.py
patch
|
blob
|
history
diff --git
a/Lib/lib-tk/FileDialog.py
b/Lib/lib-tk/FileDialog.py
index bd62c6d2a21bbab1a3f648386b8ab283025d9f08..323dc29704b91e73e04a02c346a2a8b506d34b1c 100644
(file)
--- a/
Lib/lib-tk/FileDialog.py
+++ b/
Lib/lib-tk/FileDialog.py
@@
-25,8
+25,8
@@
class FileDialog:
Usage:
d = FileDialog(master)
- f
il
e = d.go(dir_or_file, pattern, default, key)
- if f
il
e is None: ...canceled...
+ f
nam
e = d.go(dir_or_file, pattern, default, key)
+ if f
nam
e is None: ...canceled...
else: ...open file...
All arguments to go() are optional.