grammar in api.rst