Skip to content

Commit

Permalink
docs: add SupportsLT to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Oct 14, 2024
1 parent 608fa1f commit 51934cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pytools/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
THE SOFTWARE.
"""


__doc__ = """
Graph Algorithms
================
Expand All @@ -54,6 +53,10 @@
Type Variables Used
-------------------
.. class:: _SupportsLT
A :class:`~typing.Protocol` for `__lt__` support.
.. class:: NodeT
Type of a graph node, can be any hashable type.
Expand Down

0 comments on commit 51934cb

Please sign in to comment.