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

Class DequeWithBadIter

Lib/test/test_deque.py:791–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 __slots__ = ('x', 'y', '__dict__')
790
791class DequeWithBadIter(deque):
792 def __iter__(self):
793 raise TypeError
794
795class TestSubclass(unittest.TestCase):
796

Callers 1

test_pickle_recursiveMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_pickle_recursiveMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…