MCPcopy 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

71print("Example 3")
72try:
73 def expensive_check(x):
74 return x != 2
75
76 items = [1, 2, 3]
77 if __debug__:

Callers 1

item_090.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected