diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst index 3298fc85501..c03a9d31123 100644 --- a/Doc/library/fnmatch.rst +++ b/Doc/library/fnmatch.rst @@ -74,7 +74,8 @@ patterns. .. function:: translate(pattern) - Return the shell-style *pattern* converted to a regular expression. + Return the shell-style *pattern* converted to a regular expression for + using with :func:`re.match`. Example: