Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ pretty
Method
pretty
example_code/item_049.py:192–195 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
190
191
192
def
pretty(self):
193
left_str = self.left.pretty()
194
right_str = self.right.pretty()
195
return
f
"({left_str} * {right_str})"
196
197
198
print(
"Example 13"
)
Callers
nothing calls this directly
Calls
1
pretty
Method · 0.45
Tested by
no test coverage detected