Fix docstring column wrapping.

This commit is contained in:
voussoir 2021-09-23 22:36:39 -07:00
parent cd1fce3211
commit bebcd6c7f3
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -479,13 +479,14 @@ def glob_many(patterns, files=None, directories=None):
def glob_patternize(piece):
'''
Create a pattern like "[u]ser" from "user", forcing glob to look up the
correct path name, while guaranteeing that the only result will be the correct path.
Create a pattern like "[u]ser" from "user". This forces glob to look up the
correct path name, while guaranteeing that the only result will be
the correct path.
Special cases are:
`!`
because in glob syntax, [!x] tells glob to look for paths that don't contain
"x", and [!] is invalid syntax.
because in glob syntax, [!x] tells glob to look for paths that
don't contain "x", and [!] is invalid syntax.
`[`, `]`
because this starts a glob capture group