sorry, I mean "PEP 465 - A dedicated infix operator for matrix multiplication" on https://docs.python.org/3/whatsnew/3.5.html#whatsnew-pep-465
2017-07-15 20:05 GMT+08:00 Matt Wheeler <m...@funkyhat.org>: > On Sat, 15 Jul 2017, 12:35 oyster, <lepto.pyt...@gmail.com> wrote: >> >> as the title says. has @ been used in projects? > > > Strictly speaking, @ is not an operator. > It delimits a decorator statement (in python statements and operations are > not the same thing). > However, to answer the question you actually asked, yes, all the time. > > For specific examples, see: > pytest's fixtures > contextlib.contextmanager (makes creating context managers mich simpler in > most cases) > @property @classmethod etc. etc. (I sometimes see these used a bit too > freely, when a plain attribute or a function at the module level would be > more appropriate) > > -- > > -- > Matt Wheeler > http://funkyh.at -- https://mail.python.org/mailman/listinfo/python-list