Message390525
| Author |
vstinner |
| Recipients |
Mark.Shannon, mark.dickinson, rhettinger, serhiy.storchaka, vstinner |
| Date |
2021年04月08日.11:34:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1617881687.95.0.818821570812.issue43682@roundup.psfhosted.org> |
| In-reply-to |
| Content |
There is a nice side effect of PR 25268 + PR 25117: pydoc provides better self documentation for the following code:
class X:
@staticmethod
def sm(x, y):
'''A static method'''
...
pydoc on X.sm:
---
sm(x, y)
A static method
---
instead of:
---
<staticmethod object>
--- |
|