From 59081c2dce23cd12d6611657ba6fc62e5ebdfc37 Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:17:27 +0100 Subject: [PATCH] Fix markup in generics specification (#1900) --- docs/spec/generics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/generics.rst b/docs/spec/generics.rst index c7a61594..d6055e20 100644 --- a/docs/spec/generics.rst +++ b/docs/spec/generics.rst @@ -97,7 +97,7 @@ There are several ways to define a user-defined class as generic: * Include a ``Generic`` base class. * Use the new generic class syntax in Python 3.12 and higher. -* Include a `` Protocol`` base class parameterized with type variables. This +* Include a ``Protocol`` base class parameterized with type variables. This approach also marks the class as a protocol - see :ref:`generic protocols` for more information. * Include a generic base class parameterized with type variables.