Searched refs:getwriter (Results 1 – 12 of 12) sorted by relevance
168 c = codecs.getwriter('gb18030')(s)188 c = codecs.getwriter('utf-8')(s)217 wr = codecs.getwriter('gb18030')(s)
180 UTF8Writer = codecs.getwriter('utf-8')217 UTF8Writer = codecs.getwriter('utf-8')
241 writer = codecs.getwriter(self.encoding)(q)1410 self.assertRaises(TypeError, codecs.getwriter)1411 self.assertRaises(LookupError, codecs.getwriter, "__spam__")1658 writer = codecs.getwriter(encoding)(q)
1045 writer_class = codecs.getwriter('cp1251')1065 writer_class = codecs.getwriter('utf-16-le')
43 self._out = codecs.getwriter('utf-8')(out)
57 out_enc = codecs.getwriter("ascii")(out)
1001 def getwriter(encoding): function
3889 codecs.getwriter('utf8'),4012 codecs.getwriter('utf8'),
4607 codecs.getwriter('utf8'),4744 codecs.getwriter('utf8'),
144 explicitly understands :class:`unicode` (as in :func:`codecs.getwriter`)
172 .. function:: getwriter(encoding)
6776 getwriter().