tools.which: docstring fix

bzr revid: xrg@linux.gr-20110623090312-8kon0hgauxbrpace
This commit is contained in:
P. Christeas 2011-06-23 12:03:12 +03:00 committed by P. Christeas
parent a3beae41e4
commit 5aa5607913
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
Return a generator which yields full paths in which the *file* name exists
in a directory that is part of the file name, or on *path*,
and has the given *mode*.
By default, *mode* matches an inclusive OR of os.F_OK and os.X_OK
- an existing executable file.
By default, *mode* matches an inclusive OR of os.F_OK and os.X_OK - an
existing executable file.
The *path* is, by default, the ``PATH`` variable on the platform,
or the string/iterable passed in as *path*.
In the event that a ``PATH`` variable is not found, :const:`os.defpath` is used.