#NEWLINE# def toarray( self , object_ ) : #NEWLINE# #INDENT# buffer_ = self . _tobuffer ( array ) #NEWLINE# array = numpy . ndarray ( buffer = buffer_ , dtype = self . base . dtype , shape = len ( buffer_ ) ) #NEWLINE# return array