Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ sometimes_ok
Function
sometimes_ok
example_code/item_003.py:89–92 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
87
88
print(
"Example 5"
)
89
def
sometimes_ok(x):
90
if
x:
91
my_var = 123
92
print(my_var)
93
94
95
print(
"Example 6"
)
Callers
1
item_003.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected