#NEWLINE# def _set_bytes_contiguous( self , sequence ) : #NEWLINE# #INDENT# 'Munge the sequence data into a numpy array of dtype uint8.' #NEWLINE# if ( not self . flags [ 'C_CONTIGUOUS' ] ) : #NEWLINE# #INDENT# sequence = np . ascontiguousarray ( sequence ) #NEWLINE# self . _owns_bytes = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _owns_bytes = False #NEWLINE# #UNINDENT# self . _set_bytes ( sequence )