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

Method set

Lib/_pyrepl/fancy_termios.py:77–78  ·  view source on GitHub ↗
(self, when: int = termios.TCSANOW)

Source from the content-addressed store, hash-verified

75 self.stack.append(self.as_list())
76
77 def set(self, when: int = termios.TCSANOW) -> None:
78 termios.tcsetattr(self.fd, when, self.as_list())
79
80 def restore(self) -> None:
81 self.TS__init__(self.stack.pop())

Callers 1

restoreMethod · 0.95

Calls 1

as_listMethod · 0.80

Tested by

no test coverage detected