Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Returns a fraction field, i.e. `K(X)`. 

src/s/y/sympy-HEAD/sympy/printing/pretty/tests/test_pretty.py   sympy(Download)
    assert upretty(expr) == u("ℚ[x, y]")
 
    expr = ZZ.frac_field(x)
 
    assert pretty(expr) == "ZZ(x)"
    assert upretty(expr) == u("ℤ(x)")
 
    expr = ZZ.frac_field(x, y)

src/s/y/sympy-0.7.5/sympy/printing/pretty/tests/test_pretty.py   sympy(Download)
    assert upretty(expr) == u("ℚ[x, y]")
 
    expr = ZZ.frac_field(x)
 
    assert pretty(expr) == "ZZ(x)"
    assert upretty(expr) == u("ℤ(x)")
 
    expr = ZZ.frac_field(x, y)