Skip to content

Commit 3b4f774

Browse files
author
Samuel FORESTIER
committed
Removes PEP-570 positional-only parameter definition (for Python < 3.8)
1 parent ebf258e commit 3b4f774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/distro/distro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ def uname_attr(self, attribute: str) -> str:
10841084
return self._uname_info.get(attribute, "")
10851085

10861086
@staticmethod
1087-
def __abs_path_join(root_path: str, abs_path: str, /) -> str:
1087+
def __abs_path_join(root_path: str, abs_path: str) -> str:
10881088
rel_path = os.path.splitdrive(abs_path)[1].lstrip(os.sep)
10891089
if os.altsep is not None:
10901090
rel_path = rel_path.lstrip(os.altsep)

0 commit comments

Comments
 (0)