Return a list of names of methods of `obj`
(obj)
| 120 | # |
| 121 | |
| 122 | def all_methods(obj): |
| 123 | ''' |
| 124 | Return a list of names of methods of `obj` |
| 125 | ''' |
| 126 | temp = [] |
| 127 | for name in dir(obj): |
| 128 | func = getattr(obj, name) |
| 129 | if callable(func): |
| 130 | temp.append(name) |
| 131 | return temp |
| 132 | |
| 133 | def public_methods(obj): |
| 134 | ''' |
no test coverage detected
searching dependent graphs…