blob: 33e0f42c8b78678735d7838a30db85406bd9514f [file] [log] [blame]
Tor Norbye3a2425a52013-11-04 10:16:08 -08001class A:
2 def <error descr="Method must have a first parameter, usually called 'self'">foo1</error>(): pass
3
4 def foo2(<warning descr="Did not you mean 'self'?">elf</warning>): pass
5
6 def foo3<info descr="Usually first parameter of a method is named 'self'">(this)</info>: pass