MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / clear_state

Method clear_state

example_code/item_076.py:138–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136
137 print("Example 7")
138 def clear_state(self):
139 self.lower = None
140 self.upper = None
141 self.secret = None
142 self.guesses = []
143
144
145print("Example 8")

Callers 3

__init__Method · 0.95
loopMethod · 0.95
set_paramsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected