MCPcopy Index your code
hub / github.com/python/cpython / ErrDescr

Class ErrDescr

Lib/test/test_descr.py:2266–2268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2264 class MyException(Exception):
2265 pass
2266 class ErrDescr(object):
2267 def __get__(self, obj, owner):
2268 raise MyException
2269
2270 for name, runner, meth_impl, ok, env in specials:
2271 class X(Checker):

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…