MCPcopy 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
58def tcgetattr(fd: int) -> TermState:
59 return TermState(termios.tcgetattr(fd))
60
61
62def tcsetattr(fd: int, when: int, attrs: TermState) -> None:

Callers 6

__init__Method · 0.90
spawnFunction · 0.85
setrawFunction · 0.85
setcbreakFunction · 0.85
__init__Method · 0.85
prepareMethod · 0.85

Calls 1

TermStateClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…