summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-02-19 01:33:36 +0100
committerpennae <github@quasiparticle.net>2023-02-21 18:26:40 +0100
commita7c25bb01f2373eb1f113272731e1659bc91de95 (patch)
tree3654ad672f5fa0f4f053e6d2ea4980406ebc7884 /pkgs/development/python-modules/rangehttpserver
parent2ab8e742a541659baa0470e3be8fc7e01ff51175 (diff)
nixos-render-docs: add Freezable class
for most of our data classes we can use dataclasses.dataclass with frozen=True or even plain named tuples. the TOC structure we'll need to generate proper navigation links is most easily represented and used as a cyclic structure though, and for that we can use neither. if we want to make the TOC structures immutable (which seems like a good idea) we'll need a hack of *some* kind, and this hack seems like the least intrusive.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions