Alex Rivera | Logout

What does the "at" (@) symbol do in Python?

Asked 2011-06-17T23:19:30.140
987

What does the @ symbol do in Python?

Edit
Report

1 Answer

600

An @ symbol at the beginning of a line is used for class and function decorators:

An @ in the middle of a line is probably matrix multiplication:

answered 2011-06-17T23:23:44.947

Your Answer