def normalize(form, unistr):
        """
        Return the normal form 'form' for the Unicode string unistr.  Valid
        values for form are 'NFC', 'NFKC', 'NFD', and 'NFKD'.
        """

        try:
            normalizer_form = _forms[form]
        except __HOLE__:
            raise ValueError('invalid normalization form')
        return Normalizer.normalize(unistr, normalizer_form)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/unicodedata.py/normalize