@@ -81,10 +81,10 @@ Unpacking with the data filter
81
81
------------------------------
82
82
83
83
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
85
85
follow the *Unpacking without the data filter * section below.
86
86
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> `
88
88
(:pep: `706 `), tools that normally use that filter (directly on indirectly)
89
89
MAY warn the user and ignore this specification.
90
90
The trade-off between usability (e.g. fully trusting the archive) and
@@ -136,14 +136,14 @@ Further hints
136
136
-------------
137
137
138
138
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.
140
140
141
141
142
142
History
143
143
=======
144
144
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 `)
147
147
* 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
149
149
* December 2000: Source distributions standardized in :pep: `643 `
0 commit comments