在tornado的web.py,Applaction的listen方法中,有如下一段
# import is here rather than top level because HTTPServer # is not importable on appengine from tornado.httpserver import HTTPServer server = HTTPServer(self, **kwargs) server.listen(port, address)
紫衣仙女
相关分类