From d6a7ee69fb3263450ba47bed9104f4a68a08a9bd Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Thu, 7 Apr 2022 01:03:11 +0700 Subject: [PATCH] [3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375) * Use double backticks to appease rstlint * Update susp-ignored.csv --- Doc/library/typing.rst | 2 +- Doc/tools/susp-ignored.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3