From 80af26d25af5568229d31ecb2a8f1bf9702b7791 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Thu, 7 Apr 2022 01:00:26 +0700 Subject: [PATCH] [3.10] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32374) * 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 ea0bcee81c50..36d637f36650 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1158,7 +1158,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 0a8d702f96bc..d7d5b3547a9d 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -384,4 +384,4 @@ library/typing,,`,# Type of ``val`` is narrowed to ``str`` library/typing,,`,"# Else, type of ``val`` is narrowed to ``float``." library/typing,,`,# Type of ``val`` is narrowed to ``List[str]``. library/typing,,`,# Type of ``val`` remains as ``List[object]``. -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