check staticmethod/classmethod wrappers without loading AST

This commit is contained in:
Dmitry Jemerov
2011-12-08 18:08:16 +01:00
parent 4684f470ed
commit 5d7778ae02
3 changed files with 47 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
class A:
def foo(self): pass
foo = staticmethod(foo)