pnijhara / gitsome

Variable assigned to itself PYL-W0127
Anti-pattern
Minor
4 years ago4 years old
Assigning the same variable 'call_def' to itself
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"):