Message390525
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>
--- |
|
Date |
User |
Action |
Args |
2021-04-08 11:34:47 | vstinner | set | recipients:
+ vstinner, rhettinger, mark.dickinson, Mark.Shannon, serhiy.storchaka |
2021-04-08 11:34:47 | vstinner | set | messageid: <1617881687.95.0.818821570812.issue43682@roundup.psfhosted.org> |
2021-04-08 11:34:47 | vstinner | link | issue43682 messages |
2021-04-08 11:34:47 | vstinner | create | |
|