@@ -490,7 +490,7 @@ Pure paths provide the following methods and properties:
490490 True
491491
492492
493- .. method :: PurePath.is_relative_to(* other)
493+ .. method :: PurePath.is_relative_to(other)
494494
495495 Return whether or not this path is relative to the *other * path.
496496
@@ -502,6 +502,10 @@ Pure paths provide the following methods and properties:
502502
503503 .. versionadded :: 3.9
504504
505+ .. deprecated-removed :: 3.12 3.14
506+
507+ Passing additional arguments is deprecated; if supplied, they are joined
508+ with *other *.
505509
506510.. method :: PurePath.is_reserved()
507511
@@ -564,7 +568,7 @@ Pure paths provide the following methods and properties:
564568 True
565569
566570
567- .. method :: PurePath.relative_to(* other, walk_up=False)
571+ .. method :: PurePath.relative_to(other, walk_up=False)
568572
569573 Compute a version of this path relative to the path represented by
570574 *other *. If it's impossible, :exc: `ValueError ` is raised::
@@ -581,7 +585,7 @@ Pure paths provide the following methods and properties:
581585 raise ValueError(error_message.format(str(self), str(formatted)))
582586 ValueError: '/etc/passwd' is not in the subpath of '/usr' OR one path is relative and the other is absolute.
583587
584- When *walk_up * is False (the default), the path must start with *other *.
588+ When *walk_up * is False (the default), the path must start with *other *.
585589 When the argument is True, ``.. `` entries may be added to form the
586590 relative path. In all other cases, such as the paths referencing
587591 different drives, :exc: `ValueError ` is raised.::
@@ -605,6 +609,10 @@ When *walk_up* is False (the default), the path must start with *other*.
605609 .. versionadded :: 3.12
606610 The *walk_up * argument (old behavior is the same as ``walk_up=False ``).
607611
612+ .. deprecated-removed :: 3.12 3.14
613+
614+ Passing additional positional arguments is deprecated; if supplied,
615+ they are joined with *other *.
608616
609617.. method :: PurePath.with_name(name)
610618
0 commit comments