Skip to content

Commit

Permalink
Fixing docstring Sphinx warnings in datastore.key.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Oct 7, 2014
1 parent c7b36f8 commit 6dd5f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcloud/datastore/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def path(self, path=None):
:type path: sequence of dicts
:param path: Each dict must have keys 'kind' (a string) and optionally
'name' (a string) or 'id' (an integer).
'name' (a string) or 'id' (an integer).
:rtype: :class:`Key` (for setter); or :class:`str` (for getter)
:returns: a new key, cloned from self., with the given path (setter);
Expand Down Expand Up @@ -266,7 +266,7 @@ def id_or_name(self):
:rtype: :class:`int` (if 'id' is set); or :class:`str` (the 'name')
:returns: True if the last element of the key's path has either an 'id'
or a 'name'.
or a 'name'.
"""
return self.id() or self.name()

Expand Down

1 comment on commit 6dd5f2b

@dhermes
Copy link
Contributor Author

@dhermes dhermes commented on 6dd5f2b Oct 7, 2014

Choose a reason for hiding this comment

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

@tseaver @silvolu FYI committed this without a PR.

Please sign in to comment.