From 80f0f59c7ffd140dbd1740b5ccf6e3447087ed06 Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Sun, 28 Aug 2022 17:06:44 +0300 Subject: [PATCH] Minor. --- gitignorefile/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitignorefile/__init__.py b/gitignorefile/__init__.py index 4a721bf..2fc08a5 100644 --- a/gitignorefile/__init__.py +++ b/gitignorefile/__init__.py @@ -271,8 +271,8 @@ def match(self, rel_path, is_dir): # option that `.gitignore`'s behavior depends on. def _fnmatch_pathname_to_regexp(pattern, directory_only): """ - Implements fnmatch style-behavior, as though with FNM_PATHNAME flagged; - the path separator will not match shell-style '*' and '.' wildcards. + Implements `fnmatch` style-behavior, as though with `FNM_PATHNAME` flagged; + the path separator will not match shell-style `*` and `.` wildcards. """ i, n = 0, len(pattern)