Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ my_handler
Method
my_handler
Lib/test/test_asyncio/test_events.py:568–570 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
566
caught = 0
567
568
def
my_handler():
569
nonlocal caught
570
caught += 1
571
572
# Check error behavior first.
573
self.assertRaises(
Callers
nothing calls this directly
Calls
2
stop
Method · 0.45
assertEqual
Method · 0.45
Tested by
no test coverage detected