Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ adjust_discount
Function
adjust_discount
example_code/item_006.py:102–103 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
100
pass
101
102
def
adjust_discount(a):
103
return
1
104
105
import
types
106
user = types.SimpleNamespace(address=
'Fake address'
)
Callers
1
item_006.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected