#NEWLINE# def dup_gf_sqf_part( f , K ) : #NEWLINE# #INDENT# 'Compute square-free part of ``f`` in ``GF(p)[x]``. ' #NEWLINE# f = dup_convert ( f , K , g . dom ) #NEWLINE# g = gf_sqf_part ( f , K . mod , K . dom ) #NEWLINE# return dup_convert ( g , K . dom , K )