| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
|
||
| .. method:: TarInfo.replace(name=..., mtime=..., mode=..., linkname=..., | ||
| uid=..., gid=..., uname=..., gname=..., | ||
| .. method:: TarInfo.replace(name=..., mtime=..., mode=..., linkname=..., \ |
There was a problem hiding this comment.
Are the backslashes necessary here?
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, the original doesn't render properly, we get a reference warning, and the earlier mention doesn't link to it:
https://docs.python.org/3/library/tarfile.html#tarfile.TarInfo.pax_headers
With them it's rendered properly, and the reference works properly:
Alternatively, we can remove the backticks, and make it a long, single line.
Sorry, something went wrong.
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @hugovk, I could not cleanly backport this to 3.12 due to a conflict. cherry_picker f428c4dafbfa2425ea056e7f2ed2ea45fa90be87 3.12 |
Sorry, something went wrong.
|
Sorry, @hugovk, I could not cleanly backport this to 3.11 due to a conflict. cherry_picker f428c4dafbfa2425ea056e7f2ed2ea45fa90be87 3.11 |
Sorry, something went wrong.
|
GH-113244 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
GH-113245 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…ythonGH-113237) Fix Sphinx warnings in library/tarfile.rst (cherry picked from commit f428c4d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…ythonGH-113237) Fix Sphinx warnings in library/tarfile.rst (cherry picked from commit f428c4d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…13237) Fix Sphinx warnings in library/tarfile.rst
…13237) Fix Sphinx warnings in library/tarfile.rst
…13237) Fix Sphinx warnings in library/tarfile.rst
| Back | FazBrowse Home | New Git URL |
Fix 23 warnings:
Involved adding docs for a number of constants, based on the comments from the source:
cpython/Lib/tarfile.py
Lines 87 to 99 in cfa25fe
The order matches that in the source.
GNUTYPE_SPARSE is referenced in the docs (and caused a warning), GNUTYPE_LONGNAME and GNUTYPE_LONGLINK are not; I added all three to docs.
📚 Documentation preview 📚: https://cpython-previews--113237.org.readthedocs.build/en/113237/library/tarfile.html