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

Method press_0

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

Source from the content-addressed store, hash-verified

110 self.out_var.set(current)
111
112 def press_0(self):
113 current = self.out_var.get()
114 if current == "":
115 self.out_var.set(0)
116 else:
117 current += str(0)
118 self.out_var.set(current)
119
120 # ========== Operators Button Handling Function ==========
121 def press_clear(self):

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected