From a07118bcba731d444e6295c1d189b5b6880c814e Mon Sep 17 00:00:00 2001 From: barneygale Date: Thu, 13 Jul 2023 12:46:52 +0100 Subject: [PATCH] Fix default value in docs --- Doc/library/fnmatch.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst index 55ae453c2f9686..7ad00cf6c775cc 100644 --- a/Doc/library/fnmatch.rst +++ b/Doc/library/fnmatch.rst @@ -82,7 +82,7 @@ cache the compiled regex patterns in the following functions: :func:`fnmatch`, ``[n for n in names if fnmatch(n, pattern)]``, but implemented more efficiently. -.. function:: translate(pattern, seps='') +.. function:: translate(pattern, seps=None) Return the shell-style *pattern* converted to a regular expression for using with :func:`re.match`.