petervizi / python-eeml

A python package for generating eeml documents.
http://petervizi.github.com/python-eeml
GNU General Public License v3.0
43 stars 11 forks source link

Fahrenheit support #1

Closed petervizi closed 14 years ago

petervizi commented 14 years ago

Thanks to dirkleas

class Fahrenheit(Unit):
"""
Degree Fahrenheit unit class.
"""

def __init__(self):
    """
    Initialize the `Unit` parameters with Fahrenheit.
    """
    Unit.__init__(self, 'Fahrenheit', 'derivedSI', '°F')
petervizi commented 14 years ago

Commited in 33845ca5015e9e1f8f44fb1032ea245622d76650