Skip to content

Commit fa69b69

Browse files
encukouvstinnerfrenzymadness
authored
Apply suggestions from code review
Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Lumír 'Frenzy' Balhar <[email protected]>
1 parent aef2658 commit fa69b69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/tarfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ A ``TarInfo`` object has the following public data attributes:
742742

743743
For symbolic links (``SYMTYPE``), the linkname is relative to the directory
744744
that contains the link.
745-
For hard links (``LNKTYPE``), the linkname is relative to the root of
745+
For hard links (``LNKTYPE``), the *linkname* is relative to the root of
746746
the archive.
747747

748748

Lib/test/test_tarfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3497,7 +3497,7 @@ def test_parent_symlink(self):
34973497
# Inspired by 'dirsymlink2a' in jwilk/traversal-archives
34983498
with ArchiveMaker() as arc:
34993499

3500-
# links to `.` which is both:
3500+
# `current` links to `.` which is both:
35013501
# - the destination directory
35023502
# - `current` itself
35033503
arc.add('current', symlink_to='.')

0 commit comments

Comments
 (0)