Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ BadIterableClass
Class
BadIterableClass
Lib/test/test_iter.py:85–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
__iter__ = None
84
85
class
BadIterableClass:
86
def
__iter__(self):
87
raise
ZeroDivisionError
88
89
class
CallableIterClass:
90
def
__init__(self):
Callers
3
test_in_and_not_in
Method · 0.85
test_indexOf
Method · 0.85
test_error_iter
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_in_and_not_in
Method · 0.68
test_indexOf
Method · 0.68
test_error_iter
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…