| 1 |
class SimpleClassWithBlankParentheses(): |
| 2 |
pass |
| 3 |
class ClassWithSpaceParentheses ( ): |
| 4 |
first_test_data = 90 |
| 5 |
second_test_data = 100 |
| 6 |
def test_func(self): |
| 7 |
return None |
| 8 |
class ClassWithEmptyFunc(object): |
| 9 |
|
| 10 |
def func_with_blank_parentheses(): |
| 11 |
return 5 |
| 12 |
|
| 13 |
|
| 14 |
def public_func_with_blank_parentheses(): |
| 15 |
return None |
| 16 |
def class_under_the_func_with_blank_parentheses(): |
| 17 |
class InsideFunc(): |
| 18 |
pass |
| 19 |
class NormalClass ( |
| 20 |
): |
| 21 |
def func_for_testing(self, first, second): |
| 22 |
sum = first + second |
| 23 |
return sum |
| 24 |
|
| 25 |
|
| 26 |
# output |
| 27 |
|
| 28 |
|
| 29 |
class SimpleClassWithBlankParentheses: |
| 30 |
pass |
| 31 |
|
| 32 |
|
| 33 |
class ClassWithSpaceParentheses: |
| 34 |
first_test_data = 90 |
| 35 |
second_test_data = 100 |
| 36 |
|
| 37 |
def test_func(self): |
| 38 |
return None |
| 39 |
|
| 40 |
|
| 41 |
class ClassWithEmptyFunc(object): |
| 42 |
|
| 43 |
def func_with_blank_parentheses(): |
| 44 |
return 5 |
| 45 |
|
| 46 |
|
| 47 |
def public_func_with_blank_parentheses(): |
| 48 |
return None |
| 49 |
|
| 50 |
|
| 51 |
def class_under_the_func_with_blank_parentheses(): |
| 52 |
class InsideFunc: |
| 53 |
pass |
| 54 |
|
| 55 |
|
| 56 |
class NormalClass: |
| 57 |
def func_for_testing(self, first, second): |
| 58 |
sum = first + second |
| 59 |
return sum |