20 lines
383 B
Python
20 lines
383 B
Python
![]() |
"""check for method without self as first argument
|
||
|
"""
|
||
|
from __future__ import print_function
|
||
|
__revision__ = 0
|
||
|
|
||
|
|
||
|
class Abcd(object):
|
||
|
"""dummy class"""
|
||
|
|
||
|
def __init__(truc):
|
||
|
"""method without self"""
|
||
|
print(1)
|
||
|
|
||
|
def abdc(yoo):
|
||
|
"""another test"""
|
||
|
print(yoo)
|
||
|
def edf(self):
|
||
|
"""just another method"""
|
||
|
print('yapudju in', self)
|