Пример #1
0
 def write(self, text):
     return super(CUnicodeIO, self).write(
         cast_unicode(text, encoding=get_stream_enc(sys.stdout)))
Пример #2
0
 def write(self, text):
     return super(CUnicodeIO, self).write(
         cast_unicode(text, encoding=get_stream_enc(sys.stdout))
     )