Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
tuple() -> empty tuple
tuple(iterable) -> tuple initialized from iterable's items

If the argument is a tuple, the return value is the same object.

src/s/y/sympy-HEAD/sympy/core/tests/test_numbers.py   sympy(Download)
def test_3541():
    from sympy.mpmath.libmp.libmpf import (
        _normalize as mpf_normalize, finf, fninf, fzero)
    # fnan is not included because Float no longer returns fnan,
    # but otherwise, the same sort of test could apply