Skip to content

Commit e27adc6

Browse files
authored
gh-109634: Fix :samp: syntax (GH-110073)
1 parent e260087 commit e27adc6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/library/codecs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ encodings.
13501350
+--------------------+---------+---------------------------+
13511351
| raw_unicode_escape | | Latin-1 encoding with |
13521352
| | | :samp:`\\u{XXXX}` and |
1353-
| | | :samp:`\\U{XXXXXXXX}`` |
1353+
| | | :samp:`\\U{XXXXXXXX}` |
13541354
| | | for other code points. |
13551355
| | | Existing |
13561356
| | | backslashes are not |

Doc/reference/lexical_analysis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ Standard C. The recognized escape sequences are:
582582
+-------------------------+---------------------------------+-------+
583583
| ``\v`` | ASCII Vertical Tab (VT) | |
584584
+-------------------------+---------------------------------+-------+
585-
| :samp:`\\{ooo}` | Character with octal value | (2,4) |
585+
| :samp:`\\\\{ooo}` | Character with octal value | (2,4) |
586586
| | *ooo* | |
587587
+-------------------------+---------------------------------+-------+
588588
| :samp:`\\x{hh}` | Character with hex value *hh* | (3,4) |

Misc/NEWS.d/3.8.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8253,7 +8253,7 @@ Explain how IDLE's Shell displays output.
82538253
82548254
Improve the doc about IDLE running user code. The section is renamed from
82558255
"IDLE -- console differences" is renamed "Running user code". It mostly
8256-
covers the implications of using custom :samp:sys.std{xxx}` objects.
8256+
covers the implications of using custom :samp:`sys.std{xxx}` objects.
82578257

82588258
..
82598259

0 commit comments

Comments
 (0)