MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / bad_distance

Function bad_distance

example_code/item_056.py:68–70  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

66
67print("Example 3")
68def bad_distance(left, right):
69 left.x = -3
70 return distance(left, right)
71
72
73print("Example 4")

Callers 1

item_056.pyFile · 0.85

Calls 1

distanceFunction · 0.85

Tested by

no test coverage detected