3.11-only change as this is already covered in the 3.12+ deprecation
warning.
>>> p.is_relative_to('/usr')
False
+ If multiple arguments are supplied, they are joined together.
+
.. versionadded:: 3.9
.format(str(self), str(formatted)))
ValueError: '/etc/passwd' is not in the subpath of '/usr' OR one path is relative and the other absolute.
+ If multiple arguments are supplied, they are joined together.
+
NOTE: This function is part of :class:`PurePath` and works with strings. It does not check or access the underlying file structure.