#NEWLINE# def from_FractionField( K1 , a , K0 ) : #NEWLINE# #INDENT# 'Convert a rational function to ``dtype``. ' #NEWLINE# try : #NEWLINE# #INDENT# return a . set_field ( K1 . field ) #NEWLINE# #UNINDENT# except ( CoercionFailed , GeneratorsError ) : #NEWLINE# #INDENT# return None