Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ isatty
Function
isatty
src/click/_compat.py:576–580 ·
view source on GitHub ↗
(stream: t.IO[t.Any])
Source
from the content-addressed store, hash-verified
574
575
576
def
isatty(stream: t.IO[t.Any]) -> bool:
577
try
:
578
return
stream.isatty()
579
except
Exception:
580
return
False
581
582
583
def
_make_cached_stream_func(
Callers
7
__init__
Method · 0.85
_pager_contextmanager
Function · 0.85
raw_terminal
Function · 0.85
getchar
Function · 0.85
should_strip_ansi
Function · 0.85
clear
Function · 0.85
pause
Function · 0.85
Calls
1
isatty
Method · 0.45
Tested by
no test coverage detected