Searched refs:getdecoder (Results 1 – 6 of 6) sorted by relevance
1106 decoder = codecs.getdecoder("unicode_internal")1402 self.assertRaises(TypeError, codecs.getdecoder)1403 self.assertRaises(LookupError, codecs.getdecoder, "__spam__")1652 (chars, size) = codecs.getdecoder(encoding)(bytes)1771 decoder = codecs.getdecoder(encoding)1793 (chars, size) = codecs.getdecoder(encoding)(bytes)
40 dec = codecs.getdecoder('euc-kr')
953 def getdecoder(encoding): function
135 .. function:: getdecoder(encoding)
1233 self.chars = codecs.getdecoder("utf16")(raw_chars)[0]
6775 built-in codecs: getencoder(), getdecoder(), getreader(),