From 01a7935a10972ca79828f715284b164a656da72f Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Sat, 16 Apr 2016 16:20:45 -0600 Subject: [PATCH] doc: fix grammar in working-with-oo-apis Use the definite article "the" when referring to methods. Use the conjunction "and" instead of the typo "an" when referring to two method calls, and pluralize the HTTP requests that these calls make. --- docs/other/working-with-oo-apis.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/other/working-with-oo-apis.rst b/docs/other/working-with-oo-apis.rst index ae7ecf5cfc..1d4f4409af 100644 --- a/docs/other/working-with-oo-apis.rst +++ b/docs/other/working-with-oo-apis.rst @@ -24,7 +24,8 @@ Example 1 - listing records for a zone with a known id .. literalinclude:: /examples/dns/list_zone_records.py :language: python -In this example, :func:`driver.get_zone` method call results in an HTTP call. +In this example, the :func:`driver.get_zone` method call results in an HTTP +call. Example 2 - creating an EC2 instance with a known ``NodeSize`` and ``NodeImage`` id ----------------------------------------------------------------------------------- @@ -32,8 +33,8 @@ Example 2 - creating an EC2 instance with a known ``NodeSize`` and ``NodeImage`` .. literalinclude:: /examples/compute/create_ec2_node.py :language: python -In this example, both :func:`driver.list_sizes` an :func:`driver.list_images` -method calls result in an HTTP call. +In this example, both the :func:`driver.list_sizes` and +:func:`driver.list_images` method calls result in HTTP calls. As you can see above, most of those getter methods retrieve extra information about the resource from the provider API and result in an HTTP request.