Skip to content

Commit

Permalink
other is not *args
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelorenzo committed Oct 12, 2023
1 parent 4db5a05 commit ac48ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiopath/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac48ad9

Please sign in to comment.