Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ expensive_check
Function
expensive_check
example_code/item_090.py:73–74 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
71
print(
"Example 3"
)
72
try
:
73
def
expensive_check(x):
74
return
x != 2
75
76
items = [1, 2, 3]
77
if
__debug__:
Callers
1
item_090.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected