8000 Apply suggestions from code review · python/cpython@1863704 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1863704

Browse files
RayyanAnsarizooba
andauthored
Apply suggestions from code review
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent fdef371 commit 1863704

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Doc/library/os.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,12 +1096,12 @@ as internal buffering of data.
10961096
The function is limited on Emscripten and WASI, see
10971097
:ref:`wasm-availability` for more information.
10981098

1099-
On Windows, this function is limited to pipe files.
1099+
On Windows, this function is limited to pipes.
11001100

11011101
.. versionadded:: 3.5
11021102

11031103
.. versionchanged:: 3.12
1104-
Added support for Windows.
1104+
Added support for pipes on Windows.
11051105

11061106
.. function:: isatty(fd, /)
11071107

@@ -1574,12 +1574,12 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
15741574
The function is limited on Emscripten and WASI, see
15751575
:ref:`wasm-availability` for more information.
15761576

1577-
On Windows, this function is limited to pipe files.
1577+
On Windows, this function is limited to pipes.
15781578

15791579
.. versionadded:: 3.5
15801580

15811581
.. versionchanged:: 3.12
1582-
Added support for Windows.
1582+
Added support for pipes on Windows.
15831583

15841584
.. data:: SF_NODISKIO
15851585
SF_MNOWAIT

Include/internal/pycore_fileutils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ PyAPI_FUNC(int) _Py_dup(int fd);
163163
PyAPI_FUNC(int) _Py_get_blocking(int fd);
164164

165165
PyAPI_FUNC(int) _Py_set_blocking(int fd, int blocking);
166+
166167
#ifdef MS_WINDOWS
167168
PyAPI_FUNC(void*) _Py_get_osfhandle_noraise(int fd);
168169

0 commit comments

Comments
 (0)
0