From b9fa20c38602da2e615bcc96556a8fa4a5bb403c Mon Sep 17 00:00:00 2001 From: xs5871 <60395129+xs5871@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:11:18 +0000 Subject: [PATCH] Fix positional argument order in argumented keys This is a syntax error that just happened to not fail on CP < 9.x. --- kmk/keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/keys.py b/kmk/keys.py index 364eccf01..76f556594 100644 --- a/kmk/keys.py +++ b/kmk/keys.py @@ -806,7 +806,7 @@ def _argumented_key(*user_args, **user_kwargs) -> Key: if meta: key = Key( - NEXT_AVAILABLE_KEY, meta=meta, *constructor_args, **constructor_kwargs + NEXT_AVAILABLE_KEY, *constructor_args, meta=meta, **constructor_kwargs ) NEXT_AVAILABLE_KEY += 1