MCPcopy Create free account
hub / github.com/RustPython/RustPython / throw

Method throw

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

Source from the content-addressed store, hash-verified

961 def __init__(self, test):
962 self.test = test
963 def throw(self, *args):
964 self.test.check_stack_names(sys._getframe(), ['throw', 'g'])
965 def __iter__(self):
966 return self
967 def __next__(self):

Calls 1

check_stack_namesMethod · 0.80

Tested by

no test coverage detected