"..code-block:: python", as suggested by dreid.