@@ -70,7 +70,7 @@ Lastly, ``RequirementCommand``, which inherits from ``IndexGroupCommand`` is the
70
70
for those commands which make use of requirements in any form, like ``pip install ``.
71
71
72
72
In addition to the previous classes, a last mixin class must be mentioned, from which
73
- ``Command `` as well as ``SessionCommandMixin `` inherit: ``CommandContextMixIn ``, in
73
+ ``Command `` as well as ``SessionCommandMixin `` inherit: ``CommandContextMixIn ``, in
74
74
charge of the command's context.
75
75
76
76
In the following command tree we can see the hierarchy defined for the different pip's
@@ -91,14 +91,14 @@ The set of shared options are defined in `cmdoptions.py <https://github.com/pypa
91
91
module, as well as the *general options * and *package index options * groups of options
92
92
we see when we call a command's help, or the ``pip index ``'s help message respectively.
93
93
All options are defined in terms of functions that return `optparse.Option <https://docs.python.org/3/library/optparse.html#optparse.Option >`_
94
- instances once called, while specific groups of options, like *Config Options * for
95
- ``pip config `` are defined in each specific command file (see for example the
94
+ instances once called, while specific groups of options, like *Config Options * for
95
+ ``pip config `` are defined in each specific command file (see for example the
96
96
`configuration.py <https://github.com/pypa/pip/blob/main/src/pip/_internal/commands/configuration.py >`_).
97
97
98
98
Argument parsing
99
99
----------------
100
100
101
- The main entrypoint for the application is defined in the ``main `` function in the
101
+ The main entrypoint for the application is defined in the ``main `` function in the
102
102
`main.py <https://github.com/pypa/pip/blob/main/src/pip/_internal/cli/main.py >`_ module.
103
103
This function is in charge of the `autocompletion <https://github.com/pypa/pip/blob/main/src/pip/_internal/cli/autocompletion.py >`_,
104
104
calling the ``parse_command `` function and creating and running the subprograms
@@ -109,7 +109,7 @@ module, which defines the following two functions:
109
109
110
110
.. py :function :: parse_command()
111
111
112
- Function in charge of the initial parse of ``pip ``'s program. Creates the main parser (see
112
+ Function in charge of the initial parse of ``pip ``'s program. Creates the main parser (see
113
113
the next function ``create_main_parser ``) to extract the general options
114
114
and the remaining arguments. For example, running ``pip --timeout=5 install --user INITools ``
115
115
will split ``['--timeout=5'] `` as general option and ``['install', '--user', 'INITools'] ``
0 commit comments