Use public API imports in tests and docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 12:12:17 +08:00
parent 88d337bb88
commit 8e81879654
5 changed files with 14 additions and 9 deletions

View File

@@ -133,12 +133,11 @@ Using a MultiGraph
~~~~~~~~~~~~~~~~~~
For more control, build a
:class:`~spqrtree._graph.MultiGraph` directly:
:class:`~spqrtree.MultiGraph` directly:
.. code-block:: python
from spqrtree._graph import MultiGraph
from spqrtree import SPQRTree
from spqrtree import MultiGraph, SPQRTree
g = MultiGraph()
g.add_edge(0, 1)