File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ def which( name, path=None ):
77 or the directories listed in the PATH variable of the current environment. Roughly the
88 equivalent of the `which` program. Does not work on Windows.
99
10- :param executable_name: the name of the program
10+ :type name: str
11+ :param name: the name of the program
1112
12- :type executable_name: str
13-
14- :param path: an iterable of directory paths to consider or None if the PATH environment
15- variable should be used
13+ :type path: Iterable
14+ :param path: the directory paths to consider or None if the directories referenced in the
15+ PATH environment variable should be used instead
1616
1717 :returns: an iterator yielding the full path to every occurrance of an executable file of the
1818 given name in a directory on the given path or the PATH environment variable if no path was
You can’t perform that action at this time.
0 commit comments