(cls, showaddr=False, prefix="-")
| 226 | |
| 227 | |
| 228 | def printInstanceMethods(cls, showaddr=False, prefix="-"): |
| 229 | methods = getMethods(cls) |
| 230 | if not methods: |
| 231 | print("No methods were found") |
| 232 | |
| 233 | for m in methods: |
| 234 | if showaddr: |
| 235 | print(prefix + " " + m.prettyPrintString() + " " + str(m.imp)) |
| 236 | else: |
| 237 | print(prefix + " " + m.prettyPrintString()) |
| 238 | |
| 239 | |
| 240 | def printClassMethods(cls, showaddr=False): |
no test coverage detected