(instance)
| 34 | |
| 35 | finally: |
| 36 | def get_actions(instance): |
| 37 | for attr in ("option_list", "_group_actions", "_actions"): |
| 38 | if hasattr(instance, attr): |
| 39 | return getattr(instance, attr) |
| 40 | |
| 41 | def get_groups(parser): |
| 42 | return getattr(parser, "option_groups", None) or getattr(parser, "_action_groups") |
no outgoing calls
no test coverage detected
searching dependent graphs…