def get_encodings_from_content(content):

    charset_re = re.compile(r'<meta.*?charset=["\']*(.+?)["\'>]', flags=re.I)

    return charset_re.findall(content)
Converts a finite Decimal instance to a rational number, exactly.
dataset/ETHPy150Open bububa/pyTOP/pyTOP/packages/requests/utils.py/get_encodings_from_content--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/Fraction.from_decimal