@classmethod
	def key_press(cls, symbol, modifiers=0):
		def bind(f):
			if not hasattr(f, '_grease_press_key_binding'):
				f._grease_press_key_binding = []
			f._grease_press_key_binding.append((symbol, modifiers & cls.MODIFIER_MASK))
			return f
		return bind
Write help text, an optional error message, and abort the program.
dataset/ETHPy150Open caseman/grease/grease/controls.py/KeyControls.key_press--crossover with--dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/CheetahWrapper.py/usage