[Python-checkins] Fix markup buglet in Doc/howto/annotations.rst (GH-29802) (GH-29805)

ambv webhook-mailer at python.org
Fri Dec 10 19:04:04 EST 2021


https://github.com/python/cpython/commit/0f21bac6ce1c688bbe82fcb055e0a59926e43249
commit: 0f21bac6ce1c688bbe82fcb055e0a59926e43249
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-12-11T01:03:55+01:00
summary:

Fix markup buglet in Doc/howto/annotations.rst (GH-29802) (GH-29805)

(cherry picked from commit 94daf39b2f7e9b50e7ae7a16caeef804f8e37ae3)

Co-authored-by: Guido van Rossum <guido at python.org>

files:
M Doc/howto/annotations.rst

diff --git a/Doc/howto/annotations.rst b/Doc/howto/annotations.rst
index 3e61103e99c9a..2bc2f2d4c839e 100644
--- a/Doc/howto/annotations.rst
+++ b/Doc/howto/annotations.rst
@@ -156,7 +156,7 @@ Manually Un-Stringizing Stringized Annotations
   require annotating with string values that specifically
   *can't* be evaluated.  For example:
 
-  * :pep:`604` union types using `|`, before support for this
+  * :pep:`604` union types using ``|``, before support for this
     was added to Python 3.10.
   * Definitions that aren't needed at runtime, only imported
     when :const:`typing.TYPE_CHECKING` is true.



More information about the Python-checkins mailing list