Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ exceptions_eq
Function
exceptions_eq
extra_tests/snippets/builtin_exceptions.py:7–8 ·
view source on GitHub ↗
(e1, e2)
Source
from the content-addressed store, hash-verified
5
6
7
def
exceptions_eq(e1, e2):
8
return
type(e1) is type(e2) and e1.args == e2.args
9
10
11
def
round_trip_repr(e):
Callers
1
round_trip_repr
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected