778 if safe_hasattr(obj, "__call__") and not is_simple_callable(obj):
779 call_def = self._getdef(obj.__call__, oname)
780 if call_def:
781 call_def = call_def782 # it may never be the case that call def and definition
783 # differ, but don't include the same signature twice
784 if call_def != out.get("definition"):
Variable is being assigned to itself. It is unnecessary to assign a variable to itself without any modification. You can safely remove this assignment operation.
if condition:
x = x
doSomething()
if condition:
doSomething()