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

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

üst d585c525
......@@ -77,7 +77,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