Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pyphant1-HEAD/src/pyphant/pyphant/quantities/ParseQuantities.py   pyphant1(Download)
        if isinstance(unit1_1, Quantity): # Unit exists in 1.0
            if isinstance(unit, Quantity): # Unit also exists in 1.1
                if unit.isCompatible(unit1_1.unit):
                    # Interpretation of unit has not changed
                    unit = unit1_1.inUnitsOf(unit.unit)

src/p/y/pyphant-1.0b3/pyphant/quantities/ParseQuantities.py   pyphant(Download)
        if isinstance(unit1_1, Quantity): # Unit exists in 1.0
            if isinstance(unit, Quantity): # Unit also exists in 1.1
                if unit.isCompatible(unit1_1.unit):
                    # Interpretation of unit has not changed
                    unit = unit1_1.inUnitsOf(unit.unit)