Added example to module state with a function that takes many kwargs
Merge pull request #12174 from whiteinge/doc-module-state-kwargs

Added example to module state with a function that takes many kwargs