MCPcopy Create free account
hub / github.com/MorvanZhou/tutorials / normal

Function normal

threadingTUT/thread5_GIL.py:28–30  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

26 print(total)
27
28def normal(l):
29 total = sum(l)
30 print(total)
31
32if __name__ == '__main__':
33 l = list(range(1000000))

Callers 1

thread5_GIL.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected