Skip to content

Commit daa822d

Browse files
astrofrogpfmoore
andauthored
Fix typos
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
1 parent 72045fe commit daa822d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0771.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ extras are not installed. Otherwise, the default extras are used.
151151

152152
For example, if a package
153153
defines an ``extra1`` default extra as well as a non-default ``extra2``
154-
extra, then if a user was to install the package with::
154+
extra, then if a user were to install the package with::
155155

156156
pip install package
157157

158158
the ``extra1`` dependency would be included. If the user instead uses::
159159

160160
pip install package[extra2]
161161

162-
then the ``extra1`` extras would not be installed.
162+
then the ``extra1`` extra would not be installed.
163163

164164
If the same package is specified multiple times in an installation command or
165165
dependency tree, the default extras must be installed if any of the instances of
@@ -180,7 +180,7 @@ In some cases, package maintainers may want to facilitate installing packages
180180
without any default extras. In this case, as will be shown in more detail in
181181
`How to teach this`_, the best approach is to define an extra which could be
182182
called e.g. ``minimal`` or ``nodefault`` (the naming would be up to the package
183-
maintainer) which would be an empty set of dependencies. If this extras is
183+
maintainer) which would be an empty set of dependencies. If this extra is
184184
specified, no default extras will be included, so that e.g. ``package[minimal]``
185185
would include only required dependencies and no extras. Note that this requires
186186
no additional specification and is a natural consequence of the rule described

0 commit comments

Comments
 (0)