Skip to content

rtajik/Decorator-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Decorator-in-Python

A decorator in Python is a special function that takes another function and adds extra features to it — without changing its original code.

You can think of a decorator as a wrapper around a function. The original function still works the same way, but the decorator allows you to extend its behavior, such as logging, timing, validation, or access control.

In simple terms:

A decorator “enhances” a function by wrapping it with additional functionality.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published