Skip to content

Commit

Permalink
Merge pull request #1576 from scop/fix/spelling
Browse files Browse the repository at this point in the history
Spelling and grammar fixes
  • Loading branch information
webknjaz committed Jul 30, 2024
2 parents 9788da1 + 0bdccb0 commit caa2007
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/specifications/direct-url-data-structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ expression:
Additionally, the user:password section of the URL MAY be a
well-known, non security sensitive string. A typical example is ``git``
in the case of an URL such as ``ssh://git@gitlab.com/user/repo``.
in the case of a URL such as ``ssh://git@gitlab.com/user/repo``.

VCS URLs
--------
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/externally-managed-environments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ virtual environment to install packages.

Software distributors who have a non-Python-specific package manager
that manages libraries in the ``sys.path`` of their Python package
should, in general, ship a ``EXTERNALLY-MANAGED`` file in their
should, in general, ship an ``EXTERNALLY-MANAGED`` file in their
standard library directory. For instance, Debian may ship a file in
``/usr/lib/python3.9/EXTERNALLY-MANAGED`` consisting of something like

Expand Down
6 changes: 3 additions & 3 deletions source/specifications/simple-repository-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ spec:
* All JSON responses will *always* be a JSON object rather than an array or other
type.

* While JSON doesn't natively support an URL type, any value that represents an
* While JSON doesn't natively support a URL type, any value that represents an
URL in this API may be either absolute or relative as long as they point to
the correct location. If relative, they are relative to the current URL as if
it were HTML.
Expand Down Expand Up @@ -616,7 +616,7 @@ likely just be treated the same as a ``406 Not Acceptable`` error.
This spec **does** require that if the meta version ``latest`` is being used, the
server **MUST** respond with the content type for the actual version that is
contained in the response
(i.e. A ``Accept: application/vnd.pypi.simple.latest+json`` request that returns
(i.e. an ``Accept: application/vnd.pypi.simple.latest+json`` request that returns
a ``v1.x`` response should have a ``Content-Type`` of
``application/vnd.pypi.simple.v1+json``).

Expand Down Expand Up @@ -725,7 +725,7 @@ may *optionally* be used instead.
URL Parameter
^^^^^^^^^^^^^

Servers that implement the Simple API may choose to support an URL parameter named
Servers that implement the Simple API may choose to support a URL parameter named
``format`` to allow the clients to request a specific version of the URL.

The value of the ``format`` parameter should be **one** of the valid content types.
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/version-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ more information on ``file://`` URLs on Windows see
Summary of differences from pkg_resources.parse_version
=======================================================

* Note: this comparison is to ``pkg_resourses.parse_version`` as it existed at
* Note: this comparison is to ``pkg_resources.parse_version`` as it existed at
the time :pep:`440` was written. After the PEP was accepted, setuptools 6.0 and
later versions adopted the behaviour described here.

Expand Down

0 comments on commit caa2007

Please sign in to comment.