Skip to content

Commit c935b33

Browse files
Fix spacing in docs for tarfile (GH-20629)
Before ``` content.txt is 42 bytes in size and isa regular file. folder is 420 bytes in size and isa directory. magic is 4200 bytes in size and issomething else. ``` After: ``` content.txt is 42 bytes in size and is a regular file. folder is 420 bytes in size and is a directory. magic is 4200 bytes in size and is something else. ``` Automerge-Triggered-By: @orsenthil (cherry picked from commit 7a28019) Co-authored-by: Harsha Laxman <[email protected]>
1 parent 6f7346b commit c935b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/tarfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ How to read a gzip compressed tar archive and display some member information::
784784
import tarfile
785785
tar = tarfile.open("sample.tar.gz", "r:gz")
786786
for tarinfo in tar:
787-
print(tarinfo.name, "is", tarinfo.size, "bytes in size and is", end="")
787+
print(tarinfo.name, "is", tarinfo.size, "bytes in size and is ", end="")
788788
if tarinfo.isreg():
789789
print("a regular file.")
790790
elif tarinfo.isdir():

0 commit comments

Comments
 (0)