Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
791
class
DequeWithBadIter(deque):
792
def
__iter__(self):
793
raise
TypeError
794
795
class
TestSubclass(unittest.TestCase):
796
Callers
1
test_pickle_recursive
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_pickle_recursive
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…