removals in Python 3.7 (#2018)

Last part of #1965.
This commit is contained in:
Jelle Zijlstra
2018-04-06 11:11:29 -07:00
committed by Guido van Rossum
parent 0acdfd1548
commit 54ecefef04
5 changed files with 18 additions and 9 deletions

View File

@@ -480,10 +480,11 @@ if sys.version_info >= (3, 3):
follow_symlinks: bool = ...) -> stat_result: ...
else:
def stat(path: _PathType) -> stat_result: ...
@overload
def stat_float_times() -> bool: ...
@overload
def stat_float_times(__newvalue: bool) -> None: ...
if sys.version_info < (3, 7):
@overload
def stat_float_times() -> bool: ...
@overload
def stat_float_times(__newvalue: bool) -> None: ...
def statvfs(path: _FdOrPathType) -> statvfs_result: ... # Unix only
if sys.version_info >= (3, 3):
def symlink(source: _PathType, link_name: _PathType,