parameters: (self)
docstring: Reset all traps to zero
docstring_summary: Reset all traps to zero
docstring_tokens: Reset all traps to zero
function: def clear_traps(self):
          """Reset all traps to zero"""
          for flag in self.traps:
              self.traps[flag] = 0
function_tokens: def clear_traps ( self ) : for flag in self . traps : self . traps [ flag ] = 0