def content(f):
        domain = f.ring.domain
        cont = domain.zero
        gcd = domain.gcd

        for coeff in f.itercoeffs():
            cont = gcd(cont, coeff)

        return cont
Selects top and bottom margins for the scrolling region.
dataset/ETHPy150Open sympy/sympy/sympy/polys/rings.py/PolyElement.content--crossover with--dataset/ETHPy150Open jonathanslenders/pymux/pymux/screen.py/BetterScreen.set_margins