aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/glob.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/glob.py')
-rw-r--r--Lib/glob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/glob.py b/Lib/glob.py
index 8879eff8041..341524282ba 100644
--- a/Lib/glob.py
+++ b/Lib/glob.py
@@ -316,7 +316,7 @@ def translate(pat, *, recursive=False, include_hidden=False, seps=None):
if idx < last_part_idx:
results.append(any_sep)
res = ''.join(results)
- return fr'(?s:{res})\Z'
+ return fr'(?s:{res})\z'
@functools.lru_cache(maxsize=512)