2e79e9d5bb3282616f610468851734b431ea5455,homeassistant/util/temperature.py,,fahrenheit_to_celcius,#Any#,4

Before Change



def fahrenheit_to_celcius(fahrenheit):
    Convert a Fahrenheit temperature to Celsius.
    return (fahrenheit - 32.0) / 1.8


def celcius_to_fahrenheit(celcius):
    Convert a Celsius temperature to Fahrenheit.

After Change



def fahrenheit_to_celcius(fahrenheit):
    **DEPRECATED** Convert a Fahrenheit temperature to Celsius.
    logging.getLogger(__name__).warning(
        "fahrenheit_to_celcius is now fahrenheit_to_celsius "
        "correcting a spelling mistake")
    return fahrenheit_to_celsius(fahrenheit)


def fahrenheit_to_celsius(fahrenheit):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 2e79e9d5bb3282616f610468851734b431ea5455
Time: 2016-04-19
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/util/temperature.py
Class Name:
Method Name: fahrenheit_to_celcius


Project Name: inferno-pytorch/inferno
Commit Name: df6e206bfc9c81bababab2e7ad56bea1879951c9
Time: 2017-07-31
Author: nasim.rahaman@iwr.uni-heidelberg.de
File Name: inferno/extensions/metrics/arand.py
Class Name:
Method Name: adapted_rand


Project Name: inferno-pytorch/inferno
Commit Name: 1859638c3d9fb7278c022fca5c25e9e5f77f3db4
Time: 2018-08-16
Author: constantin.pape@iwr.uni-heidelberg.de
File Name: inferno/extensions/metrics/arand.py
Class Name: ArandScore
Method Name: _arand_for_tensor


Project Name: home-assistant/home-assistant
Commit Name: 2e79e9d5bb3282616f610468851734b431ea5455
Time: 2016-04-19
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/util/temperature.py
Class Name:
Method Name: celcius_to_fahrenheit