Return True if the path is relative to another path or False.
(self, *other)
| 734 | abs_parts[n:]) |
| 735 | |
| 736 | def is_relative_to(self, *other): |
| 737 | """Return True if the path is relative to another path or False. |
| 738 | """ |
| 739 | try: |
| 740 | self.relative_to(*other) |
| 741 | return True |
| 742 | except ValueError: |
| 743 | return False |
| 744 | |
| 745 | @property |
| 746 | def parts(self): |
nothing calls this directly
no test coverage detected