MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / func

Function func

example_code/item_103.py:121–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 count = list(range(10))
120
121 def func():
122 if count:
123 count.pop()
124 return True
125 return False
126
127 return func
128

Callers 7

runMethod · 0.85
wrapperFunction · 0.85
combineFunction · 0.85
wrapperFunction · 0.85
wrapperFunction · 0.85
combineFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected