Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _main_wrapper
Function
_main_wrapper
crates/wasm/Lib/asyncweb.py:60–68 ·
view source on GitHub ↗
(coro)
Source
from the content-addressed store, hash-verified
58
59
60
async
def
_main_wrapper(coro):
61
try
:
62
await coro
63
except
:
# noqa: E722
64
import
traceback
65
import
sys
66
67
# TODO: sys.stderr on wasm
68
traceback.print_exc(file=sys.stdout)
69
70
71
def
_resolve(prom):
Callers
1
main
Function · 0.85
Calls
1
print_exc
Method · 0.80
Tested by
no test coverage detected