Kaydet (Commit) e45ef4e5 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #22949: Documented that fnmatch.translate() is for use with re.match().

......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment