Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
def
normal(l):
29
total = sum(l)
30
print(total)
31
32
if
__name__ ==
'__main__'
:
33
l = list(range(1000000))
Callers
1
thread5_GIL.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected