def get_access_flags_string(value):
 buff = ''
 for i in ACCESS_FLAGS:
  if ((i[0] & value) == i[0]):
   buff += (i[1] + ' ')
 if (buff != ''):
  return buff[:(-1)]
 return buff

def get_access_flags_string ( value ) : buff = '' for i in ACCESS_FLAGS : if ( ( i [ 0 ] & value ) == i [ 0 ] ) : buff += ( i [ 1 ] + ' ' ) if ( buff != '' ) : return buff [ : ( - 1 ) ] return buff
transform an access flags to the corresponding string .