Skip to content

Commit edeca30

Browse files
Improved wording.
1 parent 91abaa8 commit edeca30

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Lib/glob.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False,
5454
The order of the returned paths is undefined. Sort them if you need a
5555
particular order.
5656
57-
If `root_dir` is not None, it should be a path-like object specifying the
58-
root directory for searching. It has the same effect as changing the
59-
current directory before calling it. If pathname is relative, the
60-
result will contain paths relative to `root_dir`.
57+
If `root_dir` is not None, it should be a path-like object specifying
58+
the root directory for searching. It has the same effect as changing
59+
the current directory before calling it (without actually
60+
changing it). If pathname is relative, the result will contain
61+
paths relative to `root_dir`.
6162
6263
If `dir_fd` is not None, it should be a file descriptor referring to a
6364
directory, and paths will then be relative to that directory.

0 commit comments

Comments
 (0)