You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/04/17 00:44:10 UTC

[2/3] libcloud git commit: doc: fix grammar in working-with-oo-apis

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.
Closes #760


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/d5c9df59
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/d5c9df59
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/d5c9df59

Branch: refs/heads/trunk
Commit: d5c9df5901024f1b7e1b19381acc029ab3c965ac
Parents: cf66886
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Sat Apr 16 16:20:45 2016 -0600
Committer: anthony-shaw <an...@apache.org>
Committed: Sun Apr 17 08:43:12 2016 +1000

----------------------------------------------------------------------
 docs/other/working-with-oo-apis.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d5c9df59/docs/other/working-with-oo-apis.rst
----------------------------------------------------------------------
diff --git a/docs/other/working-with-oo-apis.rst b/docs/other/working-with-oo-apis.rst
index ae7ecf5..1d4f440 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.