[Python-checkins] [3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375)

Fidget-Spinner webhook-mailer at python.org
Wed Apr 6 14:03:20 EDT 2022


https://github.com/python/cpython/commit/d6a7ee69fb3263450ba47bed9104f4a68a08a9bd
commit: d6a7ee69fb3263450ba47bed9104f4a68a08a9bd
branch: 3.9
author: Ken Jin <kenjin4096 at gmail.com>
committer: Fidget-Spinner <kenjin4096 at gmail.com>
date: 2022-04-07T02:03:11+08:00
summary:

[3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375)

* Use double backticks to appease rstlint

* Update susp-ignored.csv

files:
M Doc/library/typing.rst
M Doc/tools/susp-ignored.csv

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 2689c7f293871..202f5b5e8fec4 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 67e449316e4a2..3eb3d7954f8fb 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



More information about the Python-checkins mailing list