Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ from_exception
Method
from_exception
lib/matplotlib/cbook.py:52–53 ·
view source on GitHub ↗
(cls, exc)
Source
from the content-addressed store, hash-verified
50
51
@classmethod
52
def
from_exception(cls, exc):
53
return
cls(type(exc), *exc.args, notes=getattr(exc,
"__notes__"
, []))
54
55
def
to_exception(self):
56
exc = self._cls(*self._args)
Callers
1
_fnt_def_real
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected