Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ write
Function
write
core/src/plugins/py-terminal/py.js:26–30 ·
view source on GitHub ↗
(buffer)
Source
from the content-addressed store, hash-verified
24
const
generic = {
25
isatty: false,
26
write(buffer) {
27
data = decoder.decode(buffer);
28
pyterminal_write(data);
29
return
buffer.length;
30
},
31
};
32
33
io.stderr = (error) => {
Callers
nothing calls this directly
Calls
2
decode
Method · 0.80
write
Method · 0.45
Tested by
no test coverage detected