Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ my_pretty
Function
my_pretty
example_code/item_050.py:203–204 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
201
print(
"Example 11"
)
202
@functools.singledispatch
203
def
my_pretty(node):
204
raise
NotImplementedError
205
206
@my_pretty.register(Integer)
207
def
_(node):
Callers
2
_
Function · 0.85
item_050.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected