MCPcopy Index your code
hub / github.com/geekcomputers/Python / press_7

Method press_7

calculator-gui.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38
39 # ========== * Button Events * ========== < --- Sequence 789456123
40 def press_7(self):
41 current = self.out_var.get()
42 if current == "":
43 self.out_var.set(7)
44 else:
45 current += str(7)
46 self.out_var.set(current)
47
48 def press_8(self):
49 current = self.out_var.get()

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected