(obj)
| 95 | |
| 96 | |
| 97 | def _is_bound_method_value(obj): |
| 98 | if isinstance(obj, types.MethodType): |
| 99 | return True |
| 100 | if isinstance(obj, types.BuiltinMethodType): |
| 101 | receiver = getattr(obj, "__self__", None) |
| 102 | return receiver is not None and not inspect.ismodule(receiver) |
| 103 | return False |
| 104 | |
| 105 | |
| 106 | def _validate_function_value(policy, func, is_local): |
no outgoing calls
no test coverage detected