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)