mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
This broke tests on the 'aarch64 Fedora Stable Clang Installed 3.x' and
'AMD64 Fedora Stable Clang Installed 3.x' build bots.
This reverts commit da4899b94a.
This commit is contained in:
parent
5221d9ce0e
commit
5326c27fc6
7 changed files with 228 additions and 239 deletions
|
|
@ -196,8 +196,7 @@ def full_match(self, pattern, *, case_sensitive=None):
|
|||
pattern = self.with_segments(pattern)
|
||||
if case_sensitive is None:
|
||||
case_sensitive = self.parser.normcase('Aa') == 'Aa'
|
||||
globber = _PathGlobber(pattern.parser.sep, case_sensitive,
|
||||
recursive=True, include_hidden=True)
|
||||
globber = _PathGlobber(pattern.parser.sep, case_sensitive, recursive=True)
|
||||
match = globber.compile(str(pattern))
|
||||
return match(str(self)) is not None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue