Skip to content

Commit

Permalink
[3.12] pythongh-109634: Fix :samp: syntax (pythonGH-110073) (python…
Browse files Browse the repository at this point in the history
…#110095)

pythongh-109634: Fix `:samp:` syntax (pythonGH-110073)
(cherry picked from commit e27adc6)

Co-authored-by: Jacob Coffee <jacob@z7x.org>
  • Loading branch information
miss-islington and JacobCoffee committed Sep 29, 2023
1 parent d2a3131 commit 8882b30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Doc/library/codecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ encodings.
+--------------------+---------+---------------------------+
| raw_unicode_escape | | Latin-1 encoding with |
| | | :samp:`\\u{XXXX}` and |
| | | :samp:`\\U{XXXXXXXX}`` |
| | | :samp:`\\U{XXXXXXXX}` |
| | | for other code points. |
| | | Existing |
| | | backslashes are not |
Expand Down
2 changes: 1 addition & 1 deletion Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ Standard C. The recognized escape sequences are:
+-------------------------+---------------------------------+-------+
| ``\v`` | ASCII Vertical Tab (VT) | |
+-------------------------+---------------------------------+-------+
| :samp:`\\{ooo}` | Character with octal value | (2,4) |
| :samp:`\\\\{ooo}` | Character with octal value | (2,4) |
| | *ooo* | |
+-------------------------+---------------------------------+-------+
| :samp:`\\x{hh}` | Character with hex value *hh* | (3,4) |
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.8.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8253,7 +8253,7 @@ Explain how IDLE's Shell displays output.
Improve the doc about IDLE running user code. The section is renamed from
"IDLE -- console differences" is renamed "Running user code". It mostly
covers the implications of using custom :samp:sys.std{xxx}` objects.
covers the implications of using custom :samp:`sys.std{xxx}` objects.

..
Expand Down

0 comments on commit 8882b30

Please sign in to comment.