Skip to content

Commit b7d768e

Browse files
authored
Rename type hints -> type annotations
1 parent c8b8fd7 commit b7d768e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ Module contents
346346

347347
.. class:: InitVar
348348

349-
``InitVar[T]`` type hints describe variables that are :ref:`init-only
349+
``InitVar[T]`` type annotations describe variables that are :ref:`init-only
350350
<dataclasses-init-only-variables>`. Fields annotated with :class:`!InitVar`
351351
are considered pseudo-fields, and thus are neither returned by the
352352
:func:`fields` function nor used in any way except passing them to

0 commit comments

Comments
 (0)