mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[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:
parent
3856b4995e
commit
80af26d25a
2 changed files with 2 additions and 2 deletions
|
@ -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"""
|
||||
|
|
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue