Skip to content

Commit 2cdc79a

Browse files
committed
Spelling/grammar
1 parent e83c7f4 commit 2cdc79a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

peps/pep-0771.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ meaning that installing:
301301
302302
$ pip install astropy
303303
304-
would then also install optional but recommended dependencies such as
304+
would then install optional but recommended dependencies such as
305305
`scipy <https://www.scipy.org>`_. Advanced users who want a minimal install
306306
could then use:
307307

@@ -396,9 +396,9 @@ support the ability for users to opt-in to non-default extras, without removing
396396
default extras. Essentially, they might want:
397397

398398
* ``package[]`` to give an installation without any extras
399-
* ``package`` to install recommended dependencies (in a ``recommended`` extras)
400-
* ``package[alternative]`` to not install default extras, but to install an alternative set of optional dependencies (in an ``alternative`` extras)
401-
* ``package[additional]`` to install both recommended and additional dependencies (in an ``additional`` extras)
399+
* ``package`` to install recommended dependencies (in a ``recommended`` extra)
400+
* ``package[alternative]`` to not install default extras, but to install an alternative set of optional dependencies (in an ``alternative`` extra)
401+
* ``package[additional]`` to install both recommended and additional dependencies (in an ``additional`` extra)
402402

403403
This could be achieved with e.g:
404404

@@ -667,7 +667,7 @@ Avoiding the addition of many default dependencies
667667

668668
One temptation for authors might be to include many dependencies by default since
669669
they can provide a way to opt out from these. We recommend however that authors
670-
carefully consider what is included by default to avoid unecessarily bloating
670+
carefully consider what is included by default to avoid unnecessarily bloating
671671
installations and complicating dependency trees. Using default extras does not
672672
mean that all extras need to be defaults, and there is still scope for users to
673673
explicitly opt in to non-default extras.

0 commit comments

Comments
 (0)