Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ copy_list
Method
copy_list
Tools/cases_generator/stack.py:572–573 ·
view source on GitHub ↗
(arg: list[Local])
Source
from the content-addressed store, hash-verified
570
571
@staticmethod
572
def
copy_list(arg: list[Local]) -> list[Local]:
573
return
[ l.copy()
for
l in arg ]
574
575
def
copy(self) ->
"Storage"
:
576
new_stack = self.stack.copy()
Callers
1
copy
Method · 0.95
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected