MCPcopy Create free account
hub / github.com/python/cpython / BadDescr

Class BadDescr

Lib/test/test_capi/test_number.py:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16NULL = None
17
18class BadDescr:
19 def __get__(self, obj, objtype=None):
20 raise RuntimeError
21
22class WithDunder:
23 def _meth(self, *args):

Callers 1

__new__Method · 0.70

Calls

no outgoing calls

Tested by 1

__new__Method · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…