Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ constructor
Method
constructor
core/src/core.js:331–337 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
329
`${TYPE}-script`,
330
class
extends HTMLElement {
331
constructor() {
332
assign(super(), {
333
_wrap: withResolvers(),
334
srcCode:
""
,
335
executed: false,
336
});
337
}
338
get id() {
339
return
super.id || (super.id = getID());
340
}
Callers
nothing calls this directly
Calls
1
assign
Function · 0.85
Tested by
no test coverage detected