diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-04 20:19:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 20:19:33 (GMT) |
commit | 082cff1786d0a6a6500a51e67ab4f8a3a3f2c312 (patch) | |
tree | bf3ff73c2f937e79e9576633b44b6347cd64b2df | |
parent | 196810a98ab07714df3d329c325575ac36e61318 (diff) | |
download | cpython-082cff1786d0a6a6500a51e67ab4f8a3a3f2c312.zip cpython-082cff1786d0a6a6500a51e67ab4f8a3a3f2c312.tar.gz cpython-082cff1786d0a6a6500a51e67ab4f8a3a3f2c312.tar.bz2 |
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 7a280197f4162e5fcdde6f34701a9fa6e669190d)
Co-authored-by: Harsha Laxman <HarshaLaxman@users.noreply.github.com>
-rw-r--r-- | Doc/library/tarfile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 459e4ad..c204263 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -787,7 +787,7 @@ How to read a gzip compressed tar archive and display some member information:: import tarfile tar = tarfile.open("sample.tar.gz", "r:gz") for tarinfo in tar: - print(tarinfo.name, "is", tarinfo.size, "bytes in size and is", end="") + print(tarinfo.name, "is", tarinfo.size, "bytes in size and is ", end="") if tarinfo.isreg(): print("a regular file.") elif tarinfo.isdir(): |