Source

# this getcodec() function supports any multibyte codec, although# for compatibility with CPython it should only be used for the# codecs from this module, i.e.:## 'euc_kr', 'cp949', 'johab'from_multibytecodecimport__getcodecasgetcodec