We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7d8dd commit 88dd800Copy full SHA for 88dd800
packages/google-cloud-ndb/google/cloud/ndb/query.py
@@ -37,7 +37,7 @@ def ranked(cls, rank):
37
return cls.query(cls.rank == rank).order(cls.age)
38
39
for emp in Employee.seniors(42, 5):
40
- print emp.name, emp.age, emp.rank
+ print(emp.name, emp.age, emp.rank)
41
42
The 'in' operator cannot be overloaded, but is supported through the IN()
43
method. For example::
@@ -133,7 +133,7 @@ def ranked(cls, rank):
133
it = query1.iter()
134
while (yield it.has_next_async()):
135
emp = it.next()
136
- print emp.name, emp.age
+ print(emp.name, emp.age)
137
"""
138
139
import functools
0 commit comments