Style fix in api.rst