Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hhhrrrttt222111
GitHub Repository: hhhrrrttt222111/Dorkify
Path: blob/master/venv/Lib/site-packages/pip/_internal/main.py
811 views
1
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
2
3
if MYPY_CHECK_RUNNING:
4
from typing import Optional, List
5
6
7
def main(args=None):
8
# type: (Optional[List[str]]) -> int
9
"""This is preserved for old console scripts that may still be referencing
10
it.
11
12
For additional details, see https://github.com/pypa/pip/issues/7498.
13
"""
14
from pip._internal.utils.entrypoints import _wrapper
15
16
return _wrapper(args)
17
18