У нас вы можете посмотреть бесплатно What is a decorator in Python? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
A decorator is a callable (usually a function though sometimes a class) that accepts either a function or a class and returns a new function or class that wraps around the original one. Read an article version of this video at https://pym.dev/what-is-a-decorator/ Find more Python screencasts at https://pym.dev/screencasts/ 00:00 Decorators accept a function and return a function 01:30 The decorator syntax: using the @ symbol to apply decorators 02:42 Decorator functions, decorator classes, function decorators, and class decorators 03:06 Decorators can be implemented using classes too 03:45 Class decorators decorate classes 04:23 Recap