• 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 trace decorator
    • Function annotations
    • decorator.decorator
    • Mimicking the behavior of functools.wrap
    • Decorator factories
    • decorator(cls)
    • contextmanager
    • The FunctionMaker class
    • 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)

decorator

Navigation

  • Decorators for Humans

Related Topics

  • Documentation overview
    • Next: Decorators for Humans
©2005-2020, Michele Simionato. | Powered by Sphinx 8.3.0 & Alabaster 1.0.0 | Page source