code: def encode(self, input, errors="strict"):
      return self._map(
          codecs.encode, bytes, UnicodeEncodeError, input, errors
      )
  
file_path: catboost/contrib/python/fonttools/fontTools/encodings/codecs.py
imports: import codecs
  import encodings
label_desc: Use image node_id 3 for calling the ExtendCodec obj's underlying member method code with example usage: obj.encode(input, errors) and returns: self