<s> """<STR_LIT>""" <EOL> from builtins import object <EOL> class Hotkey ( object ) : <EOL> "<STR_LIT>" <EOL> keycode = None <EOL> shift = False <EOL> ctrl = False <EOL> alt = False <EOL> inheritable = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def __init__ ( self , ** kw ) : <EOL> for k , v in list ( kw . items ( ) ) : <EOL> setattr ( self , k , v ) <EOL> def __call__ ( self , ** kw ) : <EOL> for n in self . inheritable : <EOL> if not n in kw : <EOL> kw [ n ] = getattr ( self , n ) <EOL> return Hotkey ( ** kw ) <EOL> RETURN = Hotkey ( keycode = <NUM_LIT> ) <EOL> ESCAPE = Hotkey ( keycode = <NUM_LIT> ) <EOL> PAGE_UP = Hotkey ( keycode = <NUM_LIT> ) <EOL> PAGE_DOWN = Hotkey ( keycode = <NUM_LIT> ) <EOL> INSERT = Hotkey ( keycode = <NUM_LIT> ) <EOL> DELETE = Hotkey ( keycode = <NUM_LIT> ) </s>
