Skip to content

Commit 8a1f1cb

Browse files
[3.10] docs(typing): harmonize "See PEP x for more details" (GH-97927). (#98293)
(cherry picked from commit 0238965) Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
1 parent 7b604d8 commit 8a1f1cb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Doc/library/typing.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ respectively.
234234

235235
.. versionchanged:: 3.10
236236
``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`.
237-
See :pep:`612` for more information.
237+
See :pep:`612` for more details.
238238

239239
.. seealso::
240240
The documentation for :class:`ParamSpec` and :class:`Concatenate` provides
@@ -725,7 +725,7 @@ These can be used as types in annotations using ``[]``, each having a unique syn
725725

726726
.. versionchanged:: 3.10
727727
``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`.
728-
See :pep:`612` for more information.
728+
See :pep:`612` for more details.
729729

730730
.. seealso::
731731
The documentation for :class:`ParamSpec` and :class:`Concatenate` provide
@@ -1050,8 +1050,7 @@ These can be used as types in annotations using ``[]``, each having a unique syn
10501050
is not a subtype of the former, since ``List`` is invariant.
10511051
The responsibility of writing type-safe type guards is left to the user.
10521052

1053-
``TypeGuard`` also works with type variables. For more information, see
1054-
:pep:`647` (User-Defined Type Guards).
1053+
``TypeGuard`` also works with type variables. See :pep:`647` for more details.
10551054

10561055
.. versionadded:: 3.10
10571056

@@ -1323,7 +1322,7 @@ These are not used in annotations. They are building blocks for creating generic
13231322

13241323
func(C()) # Passes static type check
13251324

1326-
See :pep:`544` for details. Protocol classes decorated with
1325+
See :pep:`544` for more details. Protocol classes decorated with
13271326
:func:`runtime_checkable` (described later) act as simple-minded runtime
13281327
protocols that check only the presence of given attributes, ignoring their
13291328
type signatures.
@@ -2127,7 +2126,7 @@ Functions and decorators
21272126
def process(response):
21282127
<actual implementation>
21292128

2130-
See :pep:`484` for details and comparison with other typing semantics.
2129+
See :pep:`484` for more details and comparison with other typing semantics.
21312130

21322131
.. decorator:: final
21332132

0 commit comments

Comments
 (0)