Message389963
| Author |
serhiy.storchaka |
| Recipients |
Mark.Shannon, mark.dickinson, rhettinger, serhiy.storchaka, vstinner |
| Date |
2021年04月01日.09:33:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1617269593.69.0.11569585297.issue43682@roundup.psfhosted.org> |
| In-reply-to |
| Content |
If make staticmethod a calllable and always wrap open, we need to change also its repr and add the __doc__ attribute (and perhaps other attributes to make it more interchangeable with the original function).
Alternate option: make staticmethod(func) returning func if it is not a descriptor. |
|