code: def extract_diacritic(*diacritics):
      
      def _(ch):
          decomposed_form = unicodedata.normalize("NFD", ch)
          for diacritic in diacritics:
              if diacritic in decomposed_form:
                  return diacritic
      return _
docs: Given a collection of Unicode diacritics, return a function that takes a
      Unicode character and returns the member of the collection the character
      has (or None).