58,500 results
Open links in new tab
  1. Decorators in Python - GeeksforGeeks

    Sep 19, 2026 · Decorators take a function as input to modify or enhance its behavior. They return a new function that wraps the …

  2. Python Decorators - W3Schools

    Decorators let you add extra behavior to a function, without changing the function's code. A decorator is a function that takes another …

  3. Primer on Python Decorators

    Sep 1, 2026 · In this tutorial, you'll look at what Python decorators are and how you define and use them. Decorators can make your …

  4. Python Decorators Introduction - pythonbasics.org

    Frequently Asked Questions What is a decorator in Python? A decorator is a function that wraps another function to extend its …

  5. PEP 318 – Decorators for Functions and Methods | peps.python.org

    Jun 5, 2003 · Two decorators (classmethod () and staticmethod ()) have been available in Python since version 2.2. It’s been …

  6. Python Decorators: A Complete Guide - GeeksforGeeks

    Jul 12, 2025 · A decorator is a design pattern tool in Python for wrapping code around functions or classes (defined blocks). This …

  7. Python Decorators (With Examples) - Programiz

    In Python, a decorator is a design pattern that allows you to modify the functionality of a function by wrapping it in another function. …

  8. Python Decorators with Examples

    Learn decorators in python. See how to construct them & make them accept any number of parameters. Learn to use several …

  9. Decorators - Learn Python

    Learn Python decorators step by step. See how functions can wrap other functions, write your own decorators with the @ syntax, …

  10. Python Decorators

    In this tutorial, you'll learn about Python decorators and how to develop your own decorators.

  11. Some results have been removed