MCPcopy Index your code
hub / github.com/python/mypy / copy

Method copy

mypy/partially_defined.py:94–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 ]
93
94 def copy(self) -> BranchStatement:
95 result = BranchStatement(self.initial_state)
96 result.branches = [b.copy() for b in self.branches]
97 return result
98
99 def next_branch(self) -> None:
100 self.branches.append(

Callers

nothing calls this directly

Calls 2

BranchStatementClass · 0.85
copyMethod · 0.45

Tested by

no test coverage detected