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

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

No files matched your search

+2
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: ...