Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stubtest: clean up the
_belongs_to_runtime
function (#14361)
There's a small semantic change in this PR (instead of returning `False` if trying to access the `__module__` attribute raises an exception, we now just move on to the next heuristic). But the main purpose of this PR is to make the code more readable, as this function was getting quite hard to understand. Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
- Loading branch information