diff --git a/docs/source/runtime_troubles.rst b/docs/source/runtime_troubles.rst index b61f0048dd0a7..edc375e26485b 100644 --- a/docs/source/runtime_troubles.rst +++ b/docs/source/runtime_troubles.rst @@ -8,10 +8,9 @@ version of Python considers legal code. This section describes these scenarios and explains how to get your code running again. Generally speaking, we have three tools at our disposal: -* Use of ``from __future__ import annotations`` (:pep:`563`) - (this behaviour may eventually be made the default in a future Python version) * Use of string literal types or type comments * Use of ``typing.TYPE_CHECKING`` +* Use of ``from __future__ import annotations`` (:pep:`563`) We provide a description of these before moving onto discussion of specific problems you may encounter.