diff options
| author | Rafael Fontenelle <rffontenelle@users.noreply.github.com> | 2025-07-07 01:24:51 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-07 01:24:51 (GMT) |
| commit | bc3390c00a27be3b51de6375034bfc6dac3ffac9 (patch) | |
| tree | ac7705567858687ed118899971f4b3f0c5b84a98 /Doc | |
| parent | 52180bfb3790d37681954043df45d3ab9107dd9d (diff) | |
| download | cpython-bc3390c00a27be3b51de6375034bfc6dac3ffac9.zip cpython-bc3390c00a27be3b51de6375034bfc6dac3ffac9.tar.gz cpython-bc3390c00a27be3b51de6375034bfc6dac3ffac9.tar.bz2 | |
[3.13] Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263) (GH-136348)
Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263)
(cherry picked from commit ade19880943509945da193202ca89e0b2b6fbd75)
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/tarfile.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 1c2f3b1..e821989 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -56,8 +56,8 @@ Some facts and figures: +------------------+---------------------------------------------+ | mode | action | +==================+=============================================+ - | ``'r' or 'r:*'`` | Open for reading with transparent | - | | compression (recommended). | + | ``'r'`` or | Open for reading with transparent | + | ``'r:*'`` | compression (recommended). | +------------------+---------------------------------------------+ | ``'r:'`` | Open for reading exclusively without | | | compression. | @@ -85,10 +85,11 @@ Some facts and figures: | | Raise a :exc:`FileExistsError` exception | | | if it already exists. | +------------------+---------------------------------------------+ - | ``'a' or 'a:'`` | Open for appending with no compression. The | - | | file is created if it does not exist. | + | ``'a'`` or | Open for appending with no compression. The | + | ``'a:'`` | file is created if it does not exist. | +------------------+---------------------------------------------+ - | ``'w' or 'w:'`` | Open for uncompressed writing. | + | ``'w'`` or | Open for uncompressed writing. | + | ``'w:'`` | | +------------------+---------------------------------------------+ | ``'w:gz'`` | Open for gzip compressed writing. | +------------------+---------------------------------------------+ |
