Add missing Path.is_mount() introduced in Python 3.7 (#3566)

This commit is contained in:
Mickaël Schoentgen
2020-01-05 16:04:52 +01:00
committed by Sebastian Rittau
parent a1331accbe
commit b4d1da03aa
2 changed files with 4 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ class Path(PurePath):
def group(self) -> str: ...
def is_dir(self) -> bool: ...
def is_file(self) -> bool: ...
if sys.version_info >= (3, 7):
def is_mount(self) -> bool: ...
def is_symlink(self) -> bool: ...
def is_socket(self) -> bool: ...
def is_fifo(self) -> bool: ...