Kaydet (Commit) 38752819 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix example in a docstring to not use 'file' as a variable name

üst 08a7a0d6
...@@ -25,8 +25,8 @@ class FileDialog: ...@@ -25,8 +25,8 @@ class FileDialog:
Usage: Usage:
d = FileDialog(master) d = FileDialog(master)
file = d.go(dir_or_file, pattern, default, key) fname = d.go(dir_or_file, pattern, default, key)
if file is None: ...canceled... if fname is None: ...canceled...
else: ...open file... else: ...open file...
All arguments to go() are optional. All arguments to go() are optional.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment