diff options
Diffstat (limited to 'Doc/library/glob.rst')
-rw-r--r-- | Doc/library/glob.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst index 3d31c11..2584361 100644 --- a/Doc/library/glob.rst +++ b/Doc/library/glob.rst @@ -19,6 +19,9 @@ matched. This is done by using the :func:`os.listdir` and subshell. (For tilde and shell variable expansion, use :func:`os.path.expanduser` and :func:`os.path.expandvars`.) +For a literal match, wrap the meta-characters in brackets. +For example, ``'[?]'`` matches the character ``'?'``. + .. function:: glob(pathname) |