def handle_modifier_up(self, modifier):
_logger.debug("<STR_LIT>", modifier)<EOL>if modifier not in (Key.CAPSLOCK, Key.NUMLOCK):<EOL><INDENT>self.modifiers[modifier] = False<EOL><DEDENT>
Updates the state of the given modifier key to 'released'.