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

Class myobj

Lib/test/test_slice.py:290–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288
289 def test_cycle(self):
290 class myobj(): pass
291 o = myobj()
292 o.s = slice(o)
293 w = weakref.ref(o)

Callers 1

test_cycleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_cycleMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…