def parse_full_atom(data):
 if (len(data) < 4):
  raise ValueError('not enough data')
 version = ord(data[0:1])
 flags = cdata.uint_be(('\x00' + data[1:4]))
 return (version, flags, data[4:])

def parse_full_atom ( data ) : if ( len ( data ) < 4 ) : raise ValueError ( 'not enough data' ) version = ord ( data [ 0 : 1 ] ) flags = cdata . uint_be ( ( '\x00' + data [ 1 : 4 ] ) ) return ( version , flags , data [ 4 : ] )
some atoms are versioned .