MCPcopy 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

copyMethod · 0.95

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected