MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

1682class PythonSymlink:
1683 """Creates a symlink for the current Python executable"""
1684 def __init__(self, link=None):
1685 from .os_helper import TESTFN
1686
1687 self.link = link or os.path.abspath(TESTFN)
1688 self._linked = []
1689 self.real = os.path.realpath(sys.executable)
1690 self._also_link = []
1691
1692 self._env = None
1693
1694 self._platform_specific()
1695
1696 if sys.platform == "win32":
1697 def _platform_specific(self):

Callers

nothing calls this directly

Calls 3

_platform_specificMethod · 0.95
abspathMethod · 0.45
realpathMethod · 0.45

Tested by

no test coverage detected