Skip to content

Commit

Permalink
Fix UP036 Version block is outdated for minimum Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Oct 19, 2023
1 parent bccd2ed commit 5cbcb46
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions trio/_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,23 +413,16 @@ async def group(self) -> str: ...
async def is_mount(self) -> bool: ...
if sys.version_info >= (3, 9):
async def readlink(self) -> Path: ...
if sys.version_info >= (3, 8):
async def rename(self, target: StrPath) -> Path: ...
async def replace(self, target: StrPath) -> Path: ...
else:
async def rename(self, target: StrPath) -> None: ...
async def replace(self, target: StrPath) -> None: ...
async def rename(self, target: StrPath) -> Path: ...
async def replace(self, target: StrPath) -> Path: ...
async def resolve(self, strict: bool = False) -> Path: ...
async def rglob(self, pattern: str) -> Iterable[Path]: ...
async def rmdir(self) -> None: ...
async def symlink_to(self, target: StrPath, target_is_directory: bool = False) -> None: ...
if sys.version_info >= (3, 10):
async def hardlink_to(self, target: str | pathlib.Path) -> None: ...
async def touch(self, mode: int = 0o666, exist_ok: bool = True) -> None: ...
if sys.version_info >= (3, 8):
async def unlink(self, missing_ok: bool = False) -> None: ...
else:
async def unlink(self) -> None: ...
async def unlink(self, missing_ok: bool = False) -> None: ...
@classmethod
async def home(self) -> Path: ...
async def absolute(self) -> Path: ...
Expand Down

0 comments on commit 5cbcb46

Please sign in to comment.