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

Method throw

Lib/test/test_generators.py:956–957  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

954 def __init__(self, test):
955 self.test = test
956 def throw(self, *args):
957 self.test.check_stack_names(sys._getframe(), ['throw', 'g'])
958 def __iter__(self):
959 return self
960 def __next__(self):

Calls 1

check_stack_namesMethod · 0.80

Tested by

no test coverage detected