Skip to content

Commit 0f20821

Browse files
authored
Glossary: Improve gradual form and gradual type definitions
1 parent e523717 commit 0f20821

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/spec/glossary.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@ This section defines a few terms that may be used elsewhere in the specification
6565
primary gradual form is :ref:`Any`. The ellipsis (``...``) is a gradual
6666
form in some, but not all, contexts. It is a gradual form when used in a
6767
:ref:`Callable` type, and when used in ``tuple[Any, ...]`` (but not in
68-
other :ref:`tuple <tuples>` types).
68+
other :ref:`tuple <tuples>` types). Types that contain gradual forms do not participate
69+
in the :term:`subtype` relation, but they do participate in
70+
:term:`consistency <consistent>` and :term:`assignability <assignable>`.
71+
They can be :term:`materialized <materialize>` to a more static, or fully static,
72+
type. See :ref:`type-system-concepts`.
6973

7074
gradual type
7175
All types in the Python type system are "gradual". A gradual type may be
7276
a :term:`fully static type`, or it may be :ref:`Any`, or a type that
7377
contains ``Any`` or another :term:`gradual form`. A gradual type does not
7478
necessarily represent a single set of possible runtime values; instead it
7579
can represent a set of possible static types (a set of possible sets of
76-
possible runtime values). Gradual types do not participate in the
77-
:term:`subtype` relation, but they do participate in :term:`consistency
78-
<consistent>` and :term:`assignability <assignable>`. They can be
79-
:term:`materialized <materialize>` to a more static, or fully static,
80-
type. See :ref:`type-system-concepts`.
80+
possible runtime values).
8181

8282
inline
8383
Inline type annotations are annotations that are included in the

0 commit comments

Comments
 (0)