Skip to content

Commit 3158b79

Browse files
authored
Fix markup in generics specification
1 parent 6dd6fe4 commit 3158b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spec/generics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ There are several ways to define a user-defined class as generic:
9797

9898
* Include a ``Generic`` base class.
9999
* Use the new generic class syntax in Python 3.12 and higher.
100-
* Include a `` Protocol`` base class parameterized with type variables. This
100+
* Include a ``Protocol`` base class parameterized with type variables. This
101101
approach also marks the class as a protocol - see
102102
:ref:`generic protocols<generic-protocols>` for more information.
103103
* Include a generic base class parameterized with type variables.

0 commit comments

Comments
 (0)