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

Class sublist

Lib/test/test_descr.py:3129–3130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3127 self.assertEqual(u[0:0], "")
3128
3129 class sublist(list):
3130 pass
3131 a = sublist(range(5))
3132 self.assertEqual(a, list(range(5)))
3133 a.append("hello")

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…