MCPcopy Index your code
hub / github.com/python/cpython / isatty

Method isatty

Lib/_pyio.py:499–505  ·  view source on GitHub ↗

Return a bool indicating whether this is an 'interactive' stream. Return False if it can't be determined.

(self)

Source from the content-addressed store, hash-verified

497 self._unsupported("fileno")
498
499 def isatty(self):
500 """Return a bool indicating whether this is an 'interactive' stream.
501
502 Return False if it can't be determined.
503 """
504 self._checkClosed()
505 return False
506
507 ### Readline[s] and writelines ###
508

Callers 5

isattyMethod · 0.45
isattyMethod · 0.45
isattyMethod · 0.45
_isatty_open_onlyMethod · 0.45
isattyMethod · 0.45

Calls 1

_checkClosedMethod · 0.95

Tested by

no test coverage detected