[3.14] Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263) (GH-136290)

Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263)
(cherry picked from commit ade1988094)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-07-04 16:46:57 +02:00 committed by GitHub
parent f2f3edb8d7
commit 1a2898a383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,8 +63,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. |
@ -98,10 +98,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. |
+------------------+---------------------------------------------+