Message181924
| Author |
gvanrossum |
| Recipients |
eric.araujo, giampaolo.rodola, gvanrossum, pitrou |
| Date |
2013年02月11日.19:17:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJ+=quZ6HjgccxPjzjy64gFf4dxSCs-31wkUV1tspSdKbg@mail.gmail.com> |
| In-reply-to |
<1360609594.3569.1.camel@localhost.localdomain> |
| Content |
If I quickly want to profile one function, with the decorator I have to
insert a with-statement in its body and mess with the indentation of the
entire body. With a decorator it's just a one-line insertion. |
|