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

* Use double backticks to appease rstlint

* Update susp-ignored.csv
This commit is contained in:
Ken Jin 2022-04-07 01:00:26 +07:00 committed by GitHub
parent 3856b4995e
commit 80af26d25a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"""

View file

@ -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

Can't render this file because it contains an unexpected character in line 358 and column 55.