Message281515
Redefine a method is a common practice indirectly using decorators:
@staticmethod
def method(): pass
is like:
def method(): pass
method = staticmethod(method)
So you can clarify what do you mean by "redefining"?
Some linters already can such common mistake (very common mistake in unit tests when using copy & paste). |
|
Date |
User |
Action |
Args |
2016-11-22 20:51:45 | vstinner | set | recipients:
+ vstinner, inglesp |
2016-11-22 20:51:45 | vstinner | set | messageid: <1479847905.1.0.0528205302143.issue28776@psf.upfronthosting.co.za> |
2016-11-22 20:51:45 | vstinner | link | issue28776 messages |
2016-11-22 20:51:45 | vstinner | create | |
|