Update winglob module docstring.
This commit is contained in:
parent
e30851bf82
commit
e3f080b74f
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@ On Windows, square brackets do not have a special meaning in glob strings.
|
|||
However, python's glob module is written for unix-style globs in which brackets
|
||||
represent character classes / ranges.
|
||||
|
||||
Calling glob.escape would also escape asterisk which may not be desired.
|
||||
On Windows we should escape those brackets to get the right results.
|
||||
But calling glob.escape would also escape asterisk which may not be desired.
|
||||
So this module just provides a modified version of glob.glob which will escape
|
||||
only square brackets when called on windows, and behave normally on linux.
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue