Skip to content

Commit c8d231b

Browse files
committed
Merge pull request #1168 from dhermes/fix-1167
Separating client construction from method calls in Resource Mgr. Docs.
2 parents ee835e9 + 55da52e commit c8d231b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/resource-manager-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Here's a quick example of the full life-cycle:
2121
.. code-block:: python
2222

2323
>>> from gcloud import resource_manager
24+
>>> client = resource_manager.Client()
2425

2526
>>> # List all projects you have access to
26-
>>> client = resource_manager.Client()
2727
>>> for project in client.list_projects():
2828
... print(project)
2929

0 commit comments

Comments
 (0)