#NEWLINE# def import_set( stream ) : #NEWLINE# #INDENT# 'Return dataset of given stream.' #NEWLINE# ( format , stream ) = detect ( stream ) #NEWLINE# try : #NEWLINE# #INDENT# data = Dataset ( ) #NEWLINE# format . import_set ( data , stream ) #NEWLINE# return data #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# return None