MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / isatty

Method isatty

tools/python-3.11.9-amd64/Lib/_pyio.py:1803–1806  ·  view source on GitHub ↗

True if the file is connected to a TTY device.

(self)

Source from the content-addressed store, hash-verified

1801 return self._fd
1802
1803 def isatty(self):
1804 """True if the file is connected to a TTY device."""
1805 self._checkClosed()
1806 return os.isatty(self._fd)
1807
1808 @property
1809 def closefd(self):

Callers 1

openFunction · 0.95

Calls 2

_checkClosedMethod · 0.45
isattyMethod · 0.45

Tested by

no test coverage detected