File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -449,8 +449,9 @@ Directory and files operations
449
449
*mode * is a permission mask passed to :func: `os.access `, by default
450
450
determining if the file exists and executable.
451
451
452
- When no *path * is specified, the results of :func: `os.environ ` are used,
453
- returning either the "PATH" value or a fallback of :data: `os.defpath `.
452
+ *path * is a "``PATH `` string" specifying the lookup directory list. When no
453
+ *path * is specified, the results of :func: `os.environ ` are used, returning
454
+ either the "PATH" value or a fallback of :data: `os.defpath `.
454
455
455
456
On Windows, the current directory is prepended to the *path * if *mode * does
456
457
not include ``os.X_OK ``. When the *mode * does include ``os.X_OK ``, the
You can’t perform that action at this time.
0 commit comments