Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(spanner): fix instance docstrings #10106

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions spanner/google/cloud/spanner_v1/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ def update(self):
.. note::
Updates the ``display_name`` and ``node_count``. To change those
values before updating, set them via
Updates the ``display_name`` and ``node_count``. To change those
values before updating, set them via
.. code:: python
.. code:: python
instance.display_name = 'New display name'
instance.node_count = 5
instance.display_name = 'New display name'
instance.node_count = 5
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of wrong whitespaces line before calling :meth:`update`. was treated as Python code

before calling :meth:`update`.
Expand Down