Skip to content

Commit 0d183d3

Browse files
committed
Better docstring
1 parent 4bf083c commit 0d183d3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pip/_internal/build_env.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ def _format_main_py(source: pathlib.Path) -> bytes:
6565

6666
@contextlib.contextmanager
6767
def _create_standalone_pip() -> Iterator[str]:
68-
"""Create a zip file containing specified pip installation."""
68+
"""Create a "standalone pip" zip file.
69+
70+
The zip file contains a (modified) copy of the pip currently running.
71+
It will be used to install requirements into the build environment.
72+
"""
6973
source = pathlib.Path(pip_location).resolve().parent
7074
with TempDirectory(kind="standalone-pip") as tmp_dir:
7175
pip_zip = os.path.join(tmp_dir.path, "pip.zip")

0 commit comments

Comments
 (0)