From df8d15aeb69eec8ebdece840ba81d58eeaca3838 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 20 Sep 2026 00:25:14 +0200 Subject: [PATCH] Say what the loader does with a repeated name, and name the constant this one mirrors --- data-import/protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-import/protocol.py b/data-import/protocol.py index a5ef382..bc06769 100644 --- a/data-import/protocol.py +++ b/data-import/protocol.py @@ -21,7 +21,7 @@ OUT = Path(__file__).resolve().parent.parent / "data" / "misc" / "protocol.tsv" CACHE = Path(__file__).resolve().parent / "cache" COLUMNS = ["keyword", "name", "number"] SKIP = ("Reserved", "deprecated") -SELECTOR = '[]{}"|' # table.go: what a key or name cell may not contain +SELECTOR = '[]{}"|' # mirrors inSelector in table.go def rows(text): @@ -35,7 +35,7 @@ def rows(text): def refuse_an_unselectable_row(table): - """What the loader refuses at New, and a name that would select two rows rather than one.""" + """What the loader refuses at New, and a name that names two rows rather than one.""" keywords, names = {}, {} for r in table: for column in ("keyword", "name"):