MCPcopy 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
85class BadIterableClass:
86 def __iter__(self):
87 raise ZeroDivisionError
88
89class CallableIterClass:
90 def __init__(self):

Callers 3

test_in_and_not_inMethod · 0.85
test_indexOfMethod · 0.85
test_error_iterMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_in_and_not_inMethod · 0.68
test_indexOfMethod · 0.68
test_error_iterMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…