class_docstr: A class for representing multivariate polynomial rings. 
docstr: Convert from old poly ring to ``dtype``. 
docstr_tok: ["Convert","from","old","poly","ring","to","``","dtype","``","."]
code: def from_GlobalPolynomialRing(K1, a, K0):
      """Convert from old poly ring to ``dtype``."""
      if K1.symbols == K0.gens:
          ad = a.to_dict()
          if K1.domain != K0.domain:
              ad = {m: K1.domain.convert(c) for m, c in ad.items()}
          return K1(ad)
      elif a.is_ground and K0.domain == K1:
          return K1.convert_from(a.to_list()[0], K0.domain)
  
imports: from sympy.polys.domains.ring import Ring
  from sympy.polys.domains.compositedomain import CompositeDomain
  from sympy.polys.polyerrors import CoercionFailed, GeneratorsError
  from sympy.utilities import public
label_desc: Use image node_id 26 for calling the PolynomialRing obj's underlying member method code with example usage: obj.from_GlobalPolynomialRing(K1, a, K0) and returns: K1, K1