mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Add missing Path.is_mount() introduced in Python 3.7 (#3566)
This commit is contained in:
committed by
Sebastian Rittau
parent
a1331accbe
commit
b4d1da03aa
2
third_party/2/pathlib2.pyi
vendored
2
third_party/2/pathlib2.pyi
vendored
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user