We've recently switched to Sphinx style docstrings so please update this code to use Sphinx style docstrings.

You can find some examples in this file.