diff --git a/docs/source/generics.rst b/docs/source/generics.rst index 4755c4f17ec8..bdd6e333f895 100644 --- a/docs/source/generics.rst +++ b/docs/source/generics.rst @@ -1165,7 +1165,7 @@ This example correctly uses a covariant type variable: See :ref:`variance-of-generics` for more about variance. -Generic protocols can also be recursive. Example (Python 3.12 synta): +Generic protocols can also be recursive. Example (Python 3.12 syntax): .. code-block:: python