connection.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:ircproto 作者: agronholm 项目源码 文件源码
def __init__(self, output_encoding='utf-8', input_encoding='utf-8',
                 fallback_encoding='iso-8859-1'):
        self.output_codec = codecs.getencoder(output_encoding)
        self.input_decoder = codecs.getdecoder(input_encoding)
        self.fallback_decoder = codecs.getdecoder(fallback_encoding)
        self._input_buffer = bytearray()
        self._output_buffer = bytearray()
        self._closed = False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号