代码高亮测试2
又一个代码高亮测试,使用pre class=brush:python来看看
class BaseHandler(tornado.web.RequestHandler): @property def rep(self): return self.application.rep def get_current_user(self): user_name=self.get_secure_cookie("user") if self.application.user.has_key(user_name): return user_name return None