key.c: Complain about duplicate subkeys passed to `KeyDataStructured'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 11:54:12 +0000 (11:54 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:49:31 +0000 (12:49 +0100)
commitf5a133608a72a96b2023024043dc00480192bcc7
tree3f1783409c6002f0da47e37b493a5ff6cc06a9df
parentad70a954d0c71d5506143d57c63e58aa09d6a13f
key.c: Complain about duplicate subkeys passed to `KeyDataStructured'.

This wasn't previously possible (without complicated subterfuge), but
now a keyword argument can duplicate a mapping set in the positional
argument.
key.c
t/t-key.py