(klass)
| 224 | |
| 225 | print("Example 9") |
| 226 | def trace(klass): |
| 227 | for key in dir(klass): |
| 228 | if key in IGNORE_METHODS: |
| 229 | continue |
| 230 | |
| 231 | value = getattr(klass, key) |
| 232 | if not isinstance(value, TRACE_TYPES): |
| 233 | continue |
| 234 | |
| 235 | wrapped = trace_func(value) |
| 236 | setattr(klass, key, wrapped) |
| 237 | |
| 238 | return klass |
| 239 | |
| 240 | |
| 241 | print("Example 10") |
nothing calls this directly
no test coverage detected