Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a97cee

Browse files
committed
Correcting the mistake in 14ba90816930
Addresses Issue #18553: isatty is not Unix only.
1 parent 4b49ae6 commit 2a97cee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,8 @@ as internal buffering of data.
744744

745745
As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
746746

747+
Availability: Unix.
748+
747749

748750
.. function:: fstat(fd)
749751

@@ -788,8 +790,6 @@ as internal buffering of data.
788790
Return ``True`` if the file descriptor *fd* is open and connected to a
789791
tty(-like) device, else ``False``.
790792

791-
Availability: Unix.
792-
793793

794794
.. function:: lockf(fd, cmd, len)
795795

0 commit comments

Comments
 (0)