1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Add docstring to emphasise laziness

This commit is contained in:
Tzu-ping Chung 2020-12-19 23:18:00 +08:00
parent 8e55757a2f
commit 2a25452542

View file

@ -1,3 +1,13 @@
"""Utilities to lazily create and visit candidates found.
Creating and visiting a candidate is a *very* costly operation. It involves
fetching, extracting, potentially building modules from source, and verifying
distribution metadata. It is therefore crucial for performance to keep
everything here lazy all the way down, so we only touch candidates that we
absolutely need, and not "download the world" when we only need one version of
something.
"""
import functools
import itertools