mirror of
https://github.com/python/cpython.git
synced 2026-06-23 03:23:38 -04:00
25da5bebd8
not as descriptive as what Barry suggests, but this also catches the (in my opinion important) case where some other C code besides apply() constructs a kwdict that doesn't have the right format. All the other possibilities of getting it wrong (non-dict, wrong keywords etc) are already caught so this makes sense to check here.