def reinit(self, includeFlags=6): Power.reinit(self, includeFlags) # ----------------------------------- # Initialize the transient parameters # ----------------------------------- if includeFlags & 5: self.list, self.notes = {'SOONER': [], 'LATER': []}, {}
def reinit(self, includeFlags = 6): Power.reinit(self, includeFlags) # ----------------------------------- # Initialize the transient parameters # ----------------------------------- if includeFlags & 5: self.list, self.notes = {'SOONER': [], 'LATER': []}, {}
def reinit(self, includeFlags = 6): Power.reinit(self, includeFlags) # ----------------------------------- # Initialize the transient parameters # ----------------------------------- if includeFlags & 5: self.orders = {}
def reinit(self, includeFlags = 6): Power.reinit(self, includeFlags) # ----------------------------------- # Initialize the transient parameters # ----------------------------------- if includeFlags & 4: self.overpaid, self.offers, self.sent = 0, [], [] self.accept = self.fullAccept = None if includeFlags & 5: self.sheet = [] self.liquid = self.left = None # ---------------------------------------------- # The two attributes below are ZeroSum-specific # ---------------------------------------------- self.gained, self.lost = [], [] # ------------------------------------------- # And here are two that are Exchange-specific # ------------------------------------------- if includeFlags & 4: self.elect, self.state = {}, ''