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

Function make_test_end

example_code/item_103.py:118–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116
117
118def make_test_end():
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
129
130def my_end_func():

Callers 1

item_103.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected