Tag Archives: tornado

functools模块

在看tornado的源代码的时候发现了functools模块,google一下,发现这里有相关的介绍,很简单,稍微摘录了一下 functools模块提供了两个装饰器。这个模块是Python 2.5后新增的 wraps(wrapped[, assigned][, updated]) total_ordering(cls)

Posted in python | Tagged , , | Leave a comment