This section needs to be out-dented to be even with ``.. sourcecode::`` above, otherwise it gets included in the sourcecode block.
Sphinx foolishly takes a very Pythonic view of indentation, blocks, and scoping.