Glossary

Decorator

In Python, a function that modifies the behavior of another function or class. Applied using the `@decorator` syntax. Common examples include `@property`, `@staticmethod`, and `@dataclass`. (Ch. 5, Appendix C)

Learn More

Related Terms