(func)
| 183 | |
| 184 | @normalize_token.register(types.BuiltinFunctionType) |
| 185 | def normalize_builtin_function_or_method(func): |
| 186 | # Note: BuiltinMethodType is BuiltinFunctionType |
| 187 | self = getattr(func, "__self__", None) |
| 188 | if self is not None and not inspect.ismodule(self): |
| 189 | return normalize_bound_method(func) |
| 190 | else: |
| 191 | return normalize_object(func) |
| 192 | |
| 193 | |
| 194 | @normalize_token.register(object) |
nothing calls this directly
no test coverage detected
searching dependent graphs…