Fix docstring column wrapping.

master
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
1 changed files with 5 additions and 4 deletions

View File

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