1. jhjaggars
  2. dictionary_switches

Source

dictionary_switches / code / PatternRefactoring / trash / Cardboard.py

1
2
3
4
5
6
7
8
9
# PatternRefactoring/trash/Cardboard.py
# The Cardboard class with prototyping.

class Cardboard(Trash):
    val = 0.23f
    def __init__(self, wt): Trash.__init__(wt)
    def getValue(self): return self.val
    def setValue(self, newVal):
        self.val = newVal