Searched refs:dir_or_file (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/lib-tk/ |
D | FileDialog.py | 109 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): argument 113 dir_or_file = os.path.expanduser(dir_or_file) 114 if os.path.isdir(dir_or_file): 115 self.directory = dir_or_file 117 self.directory, default = os.path.split(dir_or_file)
|
/external/python/cpython3/Lib/tkinter/ |
D | filedialog.py | 114 def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): argument 118 dir_or_file = os.path.expanduser(dir_or_file) 119 if os.path.isdir(dir_or_file): 120 self.directory = dir_or_file 122 self.directory, default = os.path.split(dir_or_file)
|
/external/python/cpython3/Lib/lib2to3/ |
D | refactor.py | 294 for dir_or_file in items: 295 if os.path.isdir(dir_or_file): 296 self.refactor_dir(dir_or_file, write, doctests_only) 298 self.refactor_file(dir_or_file, write, doctests_only)
|
/external/python/cpython2/Lib/lib2to3/ |
D | refactor.py | 297 for dir_or_file in items: 298 if os.path.isdir(dir_or_file): 299 self.refactor_dir(dir_or_file, write, doctests_only) 301 self.refactor_file(dir_or_file, write, doctests_only)
|