MCPcopy
hub / github.com/Nuitka/Nuitka / _clone

Method _clone

nuitka/SourceCodeReferences.py:93–95  ·  view source on GitHub ↗

Make a copy it itself.

(self, line)

Source from the content-addressed store, hash-verified

91 return self.isInternal() is other.isInternal()
92
93 def _clone(self, line):
94 """Make a copy it itself."""
95 return self.fromFilenameAndLine(filename=self.filename, line=line)
96
97 def atInternal(self):
98 """Make a copy it itself but mark as internal code.

Callers 3

atInternalMethod · 0.95
atLineNumberMethod · 0.95
atColumnNumberMethod · 0.95

Calls 1

fromFilenameAndLineMethod · 0.95

Tested by

no test coverage detected