MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/test/support/__init__.py:1611–1621  ·  view source on GitHub ↗
(self, link=None)

Source from the content-addressed store, hash-verified

1609class PythonSymlink:
1610 """Creates a symlink for the current Python executable"""
1611 def __init__(self, link=None):
1612 from .os_helper import TESTFN
1613
1614 self.link = link or os.path.abspath(TESTFN)
1615 self._linked = []
1616 self.real = os.path.realpath(sys.executable)
1617 self._also_link = []
1618
1619 self._env = None
1620
1621 self._platform_specific()
1622
1623 if sys.platform == "win32":
1624 def _platform_specific(self):

Callers

nothing calls this directly

Calls 2

_platform_specificMethod · 0.95
realpathMethod · 0.80

Tested by

no test coverage detected