From 51934cb8aa85c15f934b6acf64163c8d0c903b4d Mon Sep 17 00:00:00 2001 From: Alexandru Fikl <alexfikl@gmail.com> Date: Mon, 14 Oct 2024 15:26:25 +0300 Subject: [PATCH] docs: add SupportsLT to docs --- pytools/graph.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pytools/graph.py b/pytools/graph.py index 359e806..a091d95 100644 --- a/pytools/graph.py +++ b/pytools/graph.py @@ -28,7 +28,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - __doc__ = """ Graph Algorithms ================ @@ -54,6 +53,10 @@ Graph Algorithms Type Variables Used ------------------- +.. class:: _SupportsLT + + A :class:`~typing.Protocol` for `__lt__` support. + .. class:: NodeT Type of a graph node, can be any hashable type. -- GitLab