Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ _
Function
_
example_code/item_050.py:139–140 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
137
print(
"Example 5"
)
138
@my_print.register(int)
139
def
_(value):
140
print(
"Integer!"
, value)
141
142
@my_print.register(float)
143
def
_(value):
Callers
nothing calls this directly
Calls
2
my_evaluate
Function · 0.85
my_pretty
Function · 0.85
Tested by
no test coverage detected