bottle.py 文件源码

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

项目:download-manager 作者: thispc 项目源码 文件源码
def run(self, handler):
        from gevent import wsgi as wsgi_fast, pywsgi, monkey, local
        if self.options.get('monkey', True):
            if not threading.local is local.local: monkey.patch_all()
        wsgi = wsgi_fast if self.options.get('fast') else pywsgi
        wsgi.WSGIServer((self.host, self.port), handler).serve_forever()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号