(self)
Reset all traps to zero
Reset all traps to zero
Reset all traps to zero
def clear_traps(self):
        """Reset all traps to zero"""
        for flag in self.traps:
            self.traps[flag] = 0
def clear_traps ( self ) : for flag in self . traps : self . traps [ flag ] = 0