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

Class Descr

Lib/test/test_descr.py:4810–4812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4808 return 0
4809
4810 class Descr(object):
4811 def __get__(self, ob, type=None):
4812 return 1
4813
4814 class C(object):
4815 attr = Descr()

Callers 3

CClass · 0.70
test_set_and_no_getMethod · 0.70
XClass · 0.70

Calls

no outgoing calls

Tested by 1

test_set_and_no_getMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…