Impulate py2.2 classmethod function. -> class method
(method)
| 1 | # junk.py |
| 2 | |
| 3 | def classmethod(method): |
| 4 | '''Impulate py2.2 classmethod function. -> class method''' |
| 5 | return lambda self, *args, **dict: method(self.__class__, *args, **dict) |
| 6 | |
| 7 | class Foo: |
| 8 | def bar(klass): |
no test coverage detected