The Symbol @ in Python—What Is It?

What does @property do? How about A @ B?

Artturi Jalli
Python in Plain English
5 min readJul 8, 2021

--

Photo by Roman Synkevych on Unsplash

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.

--

--