inputs.py 文件源码

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

项目:inputs 作者: zeth 项目源码 文件源码
def _pipe(self):
        """On Windows we use a pipe to emulate a Linux style character
        buffer."""
        if NIX:
            return None

        if not self.__pipe:
            target_function = self._get_target_function()
            if not target_function:
                return None

            self.__pipe, child_conn = Pipe(duplex=False)
            self._listener = Process(target=target_function,
                                     args=(child_conn,))
            self._listener.start()
        return self.__pipe
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号