@@ -25,17 +25,17 @@ def glob(pathname, *, root_dir=None, dir_fd=None, recursive=False,
2525 The order of the returned list is undefined. Sort it if you need a
2626 particular order.
2727
28- If `root_dir` is not None, it should be a path-like object specifying the
29- root directory for searching. It has the same effect as changing the
30- current directory before calling it (without actually
31- changing it). If pathname is relative, the result will contain
32- paths relative to `root_dir`.
28+ If `root_dir` is not None, it should be a path-like object specifying
29+ the root directory for searching. It has the same effect as changing
30+ the current directory before calling it (without actually changing it).
31+ If pathname is relative, the result will contain paths relative to
32+ `root_dir`.
3333
3434 If `dir_fd` is not None, it should be a file descriptor referring to a
3535 directory, and paths will then be relative to that directory.
3636
37- If `include_hidden` is true, the patterns '*', '?', '**' will match hidden
38- directories.
37+ If `include_hidden` is true, the patterns '*', '?', '**' will match
38+ hidden directories.
3939
4040 If `recursive` is true, the pattern '**' will match any files and
4141 zero or more directories and subdirectories.
@@ -56,16 +56,16 @@ def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False,
5656 particular order.
5757
5858 If `root_dir` is not None, it should be a path-like object specifying
59- the root directory for searching. It has the same effect as changing
60- the current directory before calling it (without actually
61- changing it). If pathname is relative, the result will contain
62- paths relative to `root_dir`.
59+ the root directory for searching. It has the same effect as changing
60+ the current directory before calling it (without actually changing it).
61+ If pathname is relative, the result will contain paths relative to
62+ `root_dir`.
6363
6464 If `dir_fd` is not None, it should be a file descriptor referring to a
6565 directory, and paths will then be relative to that directory.
6666
67- If `include_hidden` is true, the patterns '*', '?', '**' will match hidden
68- directories.
67+ If `include_hidden` is true, the patterns '*', '?', '**' will match
68+ hidden directories.
6969
7070 If `recursive` is true, the pattern '**' will match any files and
7171 zero or more directories and subdirectories.
@@ -279,15 +279,15 @@ def escape(pathname):
279279def translate (pat , * , recursive = False , include_hidden = False , seps = None ):
280280 """Translate a pathname with shell wildcards to a regular expression.
281281
282- If `recursive` is true, the pattern segment '**' will match any number of
283- path segments.
282+ If `recursive` is true, the pattern segment '**' will match any number
283+ of path segments.
284284
285285 If `include_hidden` is true, wildcards can match path segments beginning
286286 with a dot ('.').
287287
288288 If a sequence of separator characters is given to `seps`, they will be
289- used to split the pattern into segments and match path separators. If not
290- given, os.path.sep and os.path.altsep (where available) are used.
289+ used to split the pattern into segments and match path separators. If
290+ not given, os.path.sep and os.path.altsep (where available) are used.
291291 """
292292 if not seps :
293293 if os .path .altsep :
0 commit comments