Skip to content

Commit 63a13b3

Browse files
committed
Reduce diff a little
1 parent 7dd6dc1 commit 63a13b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/pathlib/_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ def match(self, path_pattern, *, case_sensitive=None):
583583
return False
584584
return True
585585

586-
# Subclassing abc.ABC makes isinstance() checks slower,
587-
# which in turn makes path construction slower. Register instead!
586+
# Subclassing os.PathLike makes isinstance() checks slower,
587+
# which in turn makes Path construction slower. Register instead!
588588
os.PathLike.register(PurePath)
589589

590590

0 commit comments

Comments
 (0)