def _api_osx_icon(name, output, kwargs):
 value = kwargs.get('value', '1').strip()
 cfg.osx_menu.set((value != '0'))
 return report(output)

def _api_osx_icon ( name , output , kwargs ) : value = kwargs . get ( 'value' , '1' ) . strip ( ) cfg . osx_menu . set ( ( value != '0' ) ) return report ( output )
api: accepts output .