Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ save
Method
save
Lib/_pyrepl/fancy_termios.py:74–75 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
72
self.stack: list[list[int | list[bytes]]] = []
73
74
def
save(self) -> None:
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())
Callers
nothing calls this directly
Calls
2
as_list
Method · 0.80
append
Method · 0.45
Tested by
no test coverage detected