summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Jin <kenjin4096@gmail.com>2022-04-06 18:03:11 (GMT)
committerGitHub <noreply@github.com>2022-04-06 18:03:11 (GMT)
commitd6a7ee69fb3263450ba47bed9104f4a68a08a9bd (patch)
tree7b45c056ad8894ca470906761d2fab56fc06ba25
parent1ab53511e96db42ade7bd8efdd4f237cbcb69252 (diff)
downloadcpython-d6a7ee69fb3263450ba47bed9104f4a68a08a9bd.zip
cpython-d6a7ee69fb3263450ba47bed9104f4a68a08a9bd.tar.gz
cpython-d6a7ee69fb3263450ba47bed9104f4a68a08a9bd.tar.bz2
[3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-32375)
* Use double backticks to appease rstlint * Update susp-ignored.csv
-rw-r--r--Doc/library/typing.rst2
-rw-r--r--Doc/tools/susp-ignored.csv2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 2689c7f..202f5b5 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 67e4493..3eb3d79 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