It definitely can, indeed. I tried removing the condition, and _literally everything_ blew up :)    I'm not sure where the error is. The typeshed annotation for `ast.arguments.kwdefaults` correctly has it as `list[ast.expr | None]`.    Would you like me to add a comment for now?