Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon committed Aug 28, 2022
1 parent 5e8ed94 commit 80f0f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitignorefile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 80f0f59

Please sign in to comment.