Skip to content

Commit 32b3d84

Browse files
committed
Replace rtypes boolean with bool.
Uses the command: ag -l 'rtype: boolean' | xargs sed -i .bak 's/rtype: boolean/rtype: bool/g'
1 parent 87ce034 commit 32b3d84

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/google-cloud-datastore/google/cloud/datastore/entity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __eq__(self, other):
9191
Entities compare equal if their keys compare equal and their
9292
properties compare equal.
9393
94-
:rtype: boolean
94+
:rtype: bool
9595
:returns: True if the entities compare equal, else False.
9696
"""
9797
if not isinstance(other, Entity):
@@ -108,7 +108,7 @@ def __ne__(self, other):
108108
Entities compare equal if their keys compare equal and their
109109
properties compare equal.
110110
111-
:rtype: boolean
111+
:rtype: bool
112112
:returns: False if the entities compare equal, else True.
113113
"""
114114
return not self.__eq__(other)

packages/google-cloud-datastore/google/cloud/datastore/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def to_protobuf(self):
452452
def __eq__(self, other):
453453
"""Compare two geo points for equality.
454454
455-
:rtype: boolean
455+
:rtype: bool
456456
:returns: True if the points compare equal, else False.
457457
"""
458458
if not isinstance(other, GeoPoint):
@@ -464,7 +464,7 @@ def __eq__(self, other):
464464
def __ne__(self, other):
465465
"""Compare two geo points for inequality.
466466
467-
:rtype: boolean
467+
:rtype: bool
468468
:returns: False if the points compare equal, else True.
469469
"""
470470
return not self.__eq__(other)

0 commit comments

Comments
 (0)