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

Method __init__

Lib/test/support/venv.py:13–21  ·  view source on GitHub ↗
(self, prefix, **venv_create_args)

Source from the content-addressed store, hash-verified

11
12class VirtualEnvironment:
13 def __init__(self, prefix, **venv_create_args):
14 self._logger = logging.getLogger(self.__class__.__name__)
15 venv.create(prefix, **venv_create_args)
16 self._prefix = prefix
17 self._paths = sysconfig.get_paths(
18 scheme='venv',
19 vars={'base': self.prefix},
20 expand=True,
21 )
22
23 @classmethod
24 @contextlib.contextmanager

Callers

nothing calls this directly

Calls 2

getLoggerMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected