def dup_pexquo(f, g, K):
 (q, r) = dup_pdiv(f, g, K)
 if (not r):
  return q
 else:
  raise ExactQuotientFailed(f, g)

def dup_pexquo ( f , g , K ) : ( q , r ) = dup_pdiv ( f , g , K ) if ( not r ) : return q else : raise ExactQuotientFailed ( f , g )
polynomial pseudo-quotient in k[x] .