]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix typo in typing docs: Remove redundant backtick (GH-108559) (#108560)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 Aug 2023 22:24:41 +0000 (15:24 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Aug 2023 22:24:41 +0000 (00:24 +0200)
Fix typo in typing docs: Remove redundant backtick (GH-108559)
(cherry picked from commit 72b615ab015ccff8a92e22c5b5f97fa8aca3ba1f)

Co-authored-by: nikkie <takuyafjp+develop@gmail.com>
Doc/library/typing.rst

index d060066c0cdea1adb17bc0fe6c397d596c5b8ec4..f36dc76c3232f7c038e3c63d5568123e2cb16fd7 100644 (file)
@@ -462,7 +462,7 @@ contrast, a variable annotated with ``type[C]`` (or
 themselves -- specifically, it will accept the *class object* of ``C``. For
 example::
 
-   a = 3         # Has type ``int```
+   a = 3         # Has type ``int``
    b = int       # Has type ``type[int]``
    c = type(a)   # Also has type ``type[int]``