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

Class Whatever

Lib/test/test_iter.py:914–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912 return self
913
914 class Whatever:
915 def __init__(self, start, finish):
916 self.start = start
917 self.finish = finish
918
919 def __iter__(self):
920 return Iterator(self.start, self.finish)
921
922 f.writelines(Whatever(6, 6+2000))
923 f.close()

Callers 1

test_writelinesMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_writelinesMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…