Skip to content

Commit ade1988

Browse files
authored
Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263)
1 parent 93263d4 commit ade1988

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Doc/library/tarfile.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Some facts and figures:
6363
+------------------+---------------------------------------------+
6464
| mode | action |
6565
+==================+=============================================+
66-
| ``'r' or 'r:*'`` | Open for reading with transparent |
67-
| | compression (recommended). |
66+
| ``'r'`` or | Open for reading with transparent |
67+
| ``'r:*'`` | compression (recommended). |
6868
+------------------+---------------------------------------------+
6969
| ``'r:'`` | Open for reading exclusively without |
7070
| | compression. |
@@ -98,10 +98,11 @@ Some facts and figures:
9898
| | Raise a :exc:`FileExistsError` exception |
9999
| | if it already exists. |
100100
+------------------+---------------------------------------------+
101-
| ``'a' or 'a:'`` | Open for appending with no compression. The |
102-
| | file is created if it does not exist. |
101+
| ``'a'`` or | Open for appending with no compression. The |
102+
| ``'a:'`` | file is created if it does not exist. |
103103
+------------------+---------------------------------------------+
104-
| ``'w' or 'w:'`` | Open for uncompressed writing. |
104+
| ``'w'`` or | Open for uncompressed writing. |
105+
| ``'w:'`` | |
105106
+------------------+---------------------------------------------+
106107
| ``'w:gz'`` | Open for gzip compressed writing. |
107108
+------------------+---------------------------------------------+

0 commit comments

Comments
 (0)