We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6c3ee commit c14ce4fCopy full SHA for c14ce4f
Lib/fnmatch.py
@@ -77,8 +77,8 @@ def translate(pat):
77
There is no way to quote meta-characters.
78
"""
79
80
- parts, indices = _translate(pat, '*', '.')
81
- return _join_translated_parts(parts, indices)
+ parts, star_indices = _translate(pat, '*', '.')
+ return _join_translated_parts(parts, star_indices)
82
83
_re_setops_sub = re.compile(r'([&~|])').sub
84
_re_escape = functools.lru_cache(maxsize=512)(re.escape)
0 commit comments