(it, *args, **kwargs)
| 96 | """ |
| 97 | |
| 98 | def _matcher(it, *args, **kwargs): |
| 99 | for obj in it: |
| 100 | try: |
| 101 | meth = getattr(maybe_evaluate(obj), method) |
| 102 | reply = (on_call(meth, *args, **kwargs) if on_call |
| 103 | else meth(*args, **kwargs)) |
| 104 | except AttributeError: |
| 105 | pass |
| 106 | else: |
| 107 | if reply is not None: |
| 108 | return reply |
| 109 | |
| 110 | return _matcher |
| 111 |
nothing calls this directly
no test coverage detected