]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375)
authorKen Jin <kenjin4096@gmail.com>
Wed, 6 Apr 2022 18:03:11 +0000 (01:03 +0700)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 18:03:11 +0000 (02:03 +0800)
* Use double backticks to appease rstlint

* Update susp-ignored.csv

Doc/library/typing.rst
Doc/tools/susp-ignored.csv

index 2689c7f2938716326c55fd1542534e0910ec728f..202f5b5e8fec4c5b0f9017d1fc7a229cc0c49520 100644 (file)
@@ -930,7 +930,7 @@ These are not used in annotations. They are building blocks for creating generic
                self.radius = radius
 
            # Use a type variable to show that the return type
-           # will always be an instance of whatever `cls` is
+           # will always be an instance of whatever ``cls`` is
            @classmethod
            def with_circumference(cls: type[C], circumference: float) -> C:
                """Create a circle with the specified circumference"""
index 67e449316e4a21d5b1b07fbf3342d716f35ea110..3eb3d7954f8fb23fc36163f059a95c436a21ac89 100644 (file)
@@ -370,4 +370,4 @@ whatsnew/changelog,,::,default::DeprecationWarning
 library/importlib.metadata,,:main,"EntryPoint(name='wheel', value='wheel.cli:main', group='console_scripts')"
 library/importlib.metadata,,`,loading the metadata for packages for the indicated ``context``.
 library/re,,`,"`"
-library/typing,,`,    # will always be an instance of whatever `cls` is
+library/typing,,`,    # will always be an instance of whatever ``cls`` is