We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd6fe4 commit 3158b79Copy full SHA for 3158b79
docs/spec/generics.rst
@@ -97,7 +97,7 @@ There are several ways to define a user-defined class as generic:
97
98
* Include a ``Generic`` base class.
99
* Use the new generic class syntax in Python 3.12 and higher.
100
-* Include a `` Protocol`` base class parameterized with type variables. This
+* Include a ``Protocol`` base class parameterized with type variables. This
101
approach also marks the class as a protocol - see
102
:ref:`generic protocols<generic-protocols>` for more information.
103
* Include a generic base class parameterized with type variables.
0 commit comments