8000 Fixing docstring Sphinx warnings in datastore.key. · googleapis/google-cloud-python@6dd5f2b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dd5f2b

Browse files
committed
Fixing docstring Sphinx warnings in datastore.key.
1 parent c7b36f8 commit 6dd5f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcloud/datastore/key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def path(self, path=None):
197197
198198
:type path: sequence of dicts
199199
:param path: Each dict must have keys 'kind' (a string) and optionally
200-
'name' (a string) or 'id' (an integer).
200+
'name' (a string) or 'id' (an integer).
201201
202202
:rtype: :class:`Key` (for setter); or :class:`str` (for getter)
203203
:returns: a new key, cloned from self., with the given path (setter);
@@ -266,7 +266,7 @@ def id_or_name(self):
266266
267267
:rtype: :class:`int` (if 'id' is set); or :class:`str` (the 'name')
268268
:returns: True if the last element of the key's path has either an 'id'
269-
or a 'name'.
269+
or a 'name'.
270270
"""
271271
return self.id() or self.name()
272272

0 commit comments

Comments
 (0)
0