diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-03-21 02:50:46 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-03-21 02:50:46 (GMT) |
commit | fe0a41aae425c61364b79c18ca8321dffed3ac40 (patch) | |
tree | bf19237ec3d8058d4b22bbc02177435ac1a1ce43 /Doc/library/os.rst | |
parent | c7d979f0221b4426fb2160f0960a61c1e7bc59df (diff) | |
download | cpython-fe0a41aae425c61364b79c18ca8321dffed3ac40.zip cpython-fe0a41aae425c61364b79c18ca8321dffed3ac40.tar.gz cpython-fe0a41aae425c61364b79c18ca8321dffed3ac40.tar.bz2 |
Issue #23668: Adds support for os.truncate and os.ftruncate on Windows
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index eb10db6..bd09937 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -805,8 +805,10 @@ as internal buffering of data. most *length* bytes in size. As of Python 3.3, this is equivalent to ``os.truncate(fd, length)``. - Availability: Unix. + Availability: Unix, Windows. + .. versionchanged:: 3.5 + Added support for Windows .. function:: get_blocking(fd) @@ -2492,10 +2494,12 @@ features: This function can support :ref:`specifying a file descriptor <path_fd>`. - Availability: Unix. + Availability: Unix, Windows. .. versionadded:: 3.3 + .. versionchanged:: 3.5 + Added support for Windows .. function:: unlink(path, *, dir_fd=None) |