Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ ResetAll
Method
ResetAll
recipes/Python/392154_Generator_methods/recipe-392154.py:130–132 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
128
print
'* Foo instance freed'
129
130
def
ResetAll(self):
131
super(Foo, self).GetWords(reset_gen=True)
132
self.GetWords(reset_gen=True)
133
134
@generator_method(
'Foo'
)
135
def
GetWords(self):
Callers
1
recipe-392154.py
File · 0.80
Calls
1
GetWords
Method · 0.95
Tested by
no test coverage detected