bottle.py 文件源码

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

项目:base1k 作者: gumblex 项目源码 文件源码
def run(self, handler):
        depr(0, 13, "AppEngineServer no longer required",
             "Configure your application directly in your app.yaml")
        from google.appengine.ext.webapp import util
        # A main() function in the handler script enables 'App Caching'.
        # Lets makes sure it is there. This _really_ improves performance.
        module = sys.modules.get('__main__')
        if module and not hasattr(module, 'main'):
            module.main = lambda: util.run_wsgi_app(handler)
        util.run_wsgi_app(handler)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号