]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Fix typo in typing docs: Remove redundant backtick (GH-108559) (#108561)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 Aug 2023 11:28:19 +0000 (04:28 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Aug 2023 11:28:19 +0000 (11:28 +0000)
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 0419f6799c6646b6d89b7463c6f0aacf0a0fb1fa..09332c7c2133749c5734ac477296312f27c3b962 100644 (file)
@@ -440,7 +440,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]``