Skip to content

Commit 0544c45

Browse files
encukouwebknjaz
andauthored
Links & typo fixes
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent 215f801 commit 0544c45

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/specifications/source-distribution-format.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ Unpacking with the data filter
8181
------------------------------
8282

8383
When extracting a source distribution, tools MUST either use
84-
``tarfile.data_filter`` (e.g. ``TarFile.extractall(..., filter='data')``), OR
84+
:py:func:`tarfile.data_filter` (e.g. :py:meth:`TarFile.extractall(..., filter='data') <tarfile.TarFile.extractall>`), OR
8585
follow the *Unpacking without the data filter* section below.
8686

87-
As an exception, on Python interpreters without ``hasattr(tarfile, 'data_filter')``
87+
As an exception, on Python interpreters without :py:func:`hasattr(tarfile, 'data_filter') <tarfile.data_filter>`
8888
(:pep:`706`), tools that normally use that filter (directly on indirectly)
8989
MAY warn the user and ignore this specification.
9090
The trade-off between usability (e.g. fully trusting the archive) and
@@ -136,14 +136,14 @@ Further hints
136136
-------------
137137

138138
Tool authors are encouraged to consider how *hints for further
139-
verification* in ``tarfile`` documentation apply for their tool.
139+
verification* in ``tarfile`` documentation apply to their tool.
140140

141141

142142
History
143143
=======
144144

145-
* August 2023: Stanardized the source distribution archive features (:pep:`721`)
146-
* September 2022: Stanardized the filename of a source distribution (:pep:`625`)
145+
* August 2023: Standardized the source distribution archive features (:pep:`721`)
146+
* September 2022: Standardized the filename of a source distribution (:pep:`625`)
147147
* July 2021: Defined what a source tree is
148-
* November 2020: PEP 643 converted to this specification
148+
* November 2020: :pep:`643` converted to this specification
149149
* December 2000: Source distributions standardized in :pep:`643`

0 commit comments

Comments
 (0)