Mercurial > cpython-lru_cache-weakref
diff Lib/lib-tk/FileDialog.py @ 27325:c404879cf999 legacy-trunk
Fix example in a docstring to not use 'file' as a variable name
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Tue, 21 Jan 2003 14:19:21 +0000 |
| parents | 5b727ab37092 |
| children | e02792112288 71a294bd7950 |
line wrap: on
line diff
--- a/Lib/lib-tk/FileDialog.py Tue Jan 21 13:56:34 2003 +0000 +++ b/Lib/lib-tk/FileDialog.py Tue Jan 21 14:19:21 2003 +0000 @@ -25,8 +25,8 @@ Usage: d = FileDialog(master) - file = d.go(dir_or_file, pattern, default, key) - if file is None: ...canceled... + fname = d.go(dir_or_file, pattern, default, key) + if fname is None: ...canceled... else: ...open file... All arguments to go() are optional.
