]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix markup buglet in Doc/howto/annotations.rst (GH-29802) (GH-29805)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Dec 2021 00:03:55 +0000 (16:03 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Dec 2021 00:03:55 +0000 (01:03 +0100)
(cherry picked from commit 94daf39b2f7e9b50e7ae7a16caeef804f8e37ae3)

Co-authored-by: Guido van Rossum <guido@python.org>
Doc/howto/annotations.rst

index 3e61103e99c9a625dc7e831030657864a39c1875..2bc2f2d4c839e2df8d7ae31e4dc95c0923f6e3cd 100644 (file)
@@ -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.