Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tcgetattr
Function
tcgetattr
Lib/_pyrepl/fancy_termios.py:58–59 ·
view source on GitHub ↗
(fd: int)
Source
from the content-addressed store, hash-verified
56
57
58
def
tcgetattr(fd: int) -> TermState:
59
return
TermState(termios.tcgetattr(fd))
60
61
62
def
tcsetattr(fd: int, when: int, attrs: TermState) -> None:
Callers
6
__init__
Method · 0.90
spawn
Function · 0.85
setraw
Function · 0.85
setcbreak
Function · 0.85
__init__
Method · 0.85
prepare
Method · 0.85
Calls
1
TermState
Class · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…