From ac48ad93ec587c5c385433215177041155446127 Mon Sep 17 00:00:00 2001 From: alexdelorenzo <3579286+alexdelorenzo@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:33:04 -0400 Subject: [PATCH] `other` is not `*args` --- aiopath/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiopath/path.py b/aiopath/path.py index 15227f0..437062e 100644 --- a/aiopath/path.py +++ b/aiopath/path.py @@ -48,7 +48,7 @@ def joinpath(self: Self, *pathsegments: str) -> Self: @docs_from(PurePath) def relative_to(self, other: Paths, /, *_deprecated, walk_up: bool = False) -> Self: - path: PurePath = super().relative_to(*other, walk_up=walk_up) + path: PurePath = super().relative_to(other, *_deprecated, walk_up=walk_up) return AsyncPath(path) @docs_from(PurePath)