Grammar is clumsy, recommended change:

Use the "changed_when" option to override the default module "change" reporting.  The "changed_when" option takes a Python expression.  ...