- Decorators for Humans
- Introduction
- What’s New in version 5
- What’s New in version 4
- Usefulness of decorators
- Definitions
- Statement of the problem
- The solution
- A
tracedecorator - Function annotations
decorator.decorator- Mimicking the behavior of functools.wrap
- Decorator factories
decorator(cls)- contextmanager
- The
FunctionMakerclass - Getting the source code
- Dealing with third-party decorators
- Python 3.5 coroutines
- Multiple dispatch
- Generic functions and virtual ancestors
- Caveats and limitations
- LICENSE (2-clause BSD)