Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
print(
"Example 3"
)
68
def
bad_distance(left, right):
69
left.x = -3
70
return
distance(left, right)
71
72
73
print(
"Example 4"
)
Callers
1
item_056.py
File · 0.85
Calls
1
distance
Function · 0.85
Tested by
no test coverage detected