The Symbol @ in Python—What Is It?
What does @property do? How about A @ B?
Published in
5 min readJul 8, 2021
Have you ever wondered what @property
means? Or what does A @ B
do?
Today you are going to learn how the symbol @
is used in Python. There are two use cases:
- Decorators, such as
@property
,@classmethod
, and@staticmethod
. - Matrix multiplication.