This inspection detects unconditional redeclarations of names without being used in between, like this:
def x(): pass x = 2
It applies to function and class declarations, and top-level assignments.