Skip to content

Commit a112b98

Browse files
groodthugovk
andauthored
PEP 751: Fix typos (#4288)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 7f219a0 commit a112b98

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

peps/pep-0751.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ internal lock file format.
9898
Lock files can be *single-use* and *multi-use*. Single-use lock files are things
9999
like ``requirements.txt`` files, which serve a single use-case/purpose (hence
100100
why it isn't uncommon for a project to have multiple requirements files, each
101-
for a diffetent use-case). Multi-use lock files represent multiple use-cases
101+
for a different use-case). Multi-use lock files represent multiple use-cases
102102
within a single file, often expressed through
103103
:ref:`extras <packaging:core-metadata-provides-extra>` and
104104
:ref:`packaging:dependency-groups`. As such, this PEP supports additions to
@@ -540,7 +540,7 @@ See ``packages.vcs.subdirectory``.
540540
`software bill of materials`_ -- aka SBOMs -- and to assist in finding a file
541541
if a URL ceases to be valid.
542542
- Tools MAY support installing from an index if the URL recorded for a specific
543-
file is no longer vaild (e.g. returns a 404 HTTP error code).
543+
file is no longer valid (e.g. returns a 404 HTTP error code).
544544

545545

546546
``[packages.sdist]``
@@ -662,8 +662,8 @@ See ``packages.archive.hashes``.
662662
:ref:`packaging:index-hosted-attestations`.
663663

664664

665-
``packages.attestation-identites.kind``
666-
'''''''''''''''''''''''''''''''''''''''
665+
``packages.attestation-identities.kind``
666+
''''''''''''''''''''''''''''''''''''''''
667667

668668
- **Type**: string
669669
- **Required?**: yes
@@ -702,7 +702,7 @@ Additions to marker expression syntax
702702

703703
This PEP proposes adding to the
704704
:ref:`packaging:dependency-specifiers-environment-markers` specification such
705-
that extras and dependency group reliationships for an entry in ``[[packages]]``
705+
that extras and dependency group relationships for an entry in ``[[packages]]``
706706
can be expressed in ``packages.marker``. The additions outlined in this PEP
707707
ONLY apply in the context of lock files as defined by this PEP and not in other
708708
contexts where marker syntax is used (e.g. ``METADATA``, ``pyproject.toml``).
@@ -713,7 +713,7 @@ been requested to be installed, respectively.
713713

714714
Second, the marker specification will be changed to allow for containers and not
715715
just strings for values. ONLY the new markers introduced in this PEP MAY and
716-
MUST must be used with a :py:class:`collections.abc.Container` type for their
716+
MUST be used with a :py:class:`collections.abc.Container` type for their
717717
value (which default to empty containers). An assumption of the type of
718718
container used MUST NOT be made (e.g. could be a set, list, or tuple).
719719

@@ -994,7 +994,7 @@ Reference Implementation
994994

995995
A proof-of-concept implementing most of this PEP for various versions
996996
of this PEP can be found at
997-
https://github.com/brettcannon/mousebender/tree/pep . While the various
997+
https://github.com/brettcannon/mousebender/tree/pep. While the various
998998
implementations have not matched the exact format of this PEP, the general
999999
semantic requirements have been implemented before.
10001000

0 commit comments

Comments
 (0)