Spelling mistakes in pydoc in modules/state.py

Just noticed these on the way through :-)
Merge pull request #6709 from bruce-one/patch-1

Spelling mistakes in pydoc in modules/state.py