From: Ken Jin Date: Wed, 6 Apr 2022 18:03:11 +0000 (+0700) Subject: [3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375) X-Git-Tag: v3.9.13~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6a7ee69fb3263450ba47bed9104f4a68a08a9bd;p=thirdparty%2FPython%2Fcpython.git [3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375) * Use double backticks to appease rstlint * Update susp-ignored.csv --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 2689c7f29387..202f5b5e8fec 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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""" diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 67e449316e4a..3eb3d7954f8f 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -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