···11+@ECHO OFF
22+33+pushd %~dp0
44+55+REM Command file for Sphinx documentation
66+77+if "%SPHINXBUILD%" == "" (
88+ set SPHINXBUILD=sphinx-build
99+)
1010+set SOURCEDIR=.
1111+set BUILDDIR=_build
1212+1313+%SPHINXBUILD% >NUL 2>NUL
1414+if errorlevel 9009 (
1515+ echo.
1616+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
1717+ echo.installed, then set the SPHINXBUILD environment variable to point
1818+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
1919+ echo.may add the Sphinx directory to PATH.
2020+ echo.
2121+ echo.If you don't have Sphinx installed, grab it from
2222+ echo.https://www.sphinx-doc.org/
2323+ exit /b 1
2424+)
2525+2626+if "%1" == "" goto help
2727+2828+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
2929+goto end
3030+3131+:help
3232+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
3333+3434+:end
3535+popd
···2626@dataclass(frozen=True) # frozen == immutable == win
2727class MSTNode:
2828 """
2929- k/v pairs are interleaved between subtrees like so:
2929+ k/v pairs are interleaved between subtrees like so: ::
30303131- keys: (0, 1, 2, 3)
3232- vals: (0, 1, 2, 3)
3333- subtrees: (0, 1, 2, 3, 4)
3131+ keys: (0, 1, 2, 3)
3232+ vals: (0, 1, 2, 3)
3333+ subtrees: (0, 1, 2, 3, 4)
34343535 If a method is implemented in this class, it's because it's a function/property
3636 of a single node, as opposed to a whole tree