mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
8683413501
https://www.python.org/dev/peps/pep-3102/ Replaces the pattern: self.name = kwargs.pop('name') Keyword-only arguments offer some advantages: - In the event of a typo or misuse, a more informative error is presented to the programmer. - More self documenting and makes interfaces more explicit. - They more easily allow explicit typing. Adding types to ConfigOptionParser required changing some call sites to pass arguments without using a dict due to mypy bug: https://github.com/python/mypy/issues/9676 |
||
---|---|---|
.. | ||
__init__.py | ||
certs.py | ||
configuration_helpers.py | ||
filesystem.py | ||
git_submodule_helpers.py | ||
index.py | ||
local_repos.py | ||
options_helpers.py | ||
path.py | ||
requests_mocks.py | ||
server.py | ||
test_lib.py | ||
test_wheel.py | ||
venv.py | ||
wheel.py |