Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ my_generator
Function
my_generator
example_code/item_089.py:63–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
62
print(
"Example 2"
)
63
def
my_generator():
64
try
:
65
yield
10
66
yield
20
67
yield
30
68
finally:
69
print(
"Finally my_generator"
)
70
71
print(
"Before"
)
72
Callers
1
item_089.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected