We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f62c0a commit 5cc1babCopy full SHA for 5cc1bab
packages/google-cloud-ndb/google/cloud/ndb/tasklets.py
@@ -36,7 +36,7 @@ def foo():
36
def main():
37
f = foo()
38
x = f.result()
39
- print x
+ print(x)
40
41
In this example, `foo` needs the results of two futures, `AFuture` and
42
`BFuture`, which it gets somehow, for example as results of calls.
@@ -63,7 +63,7 @@ def main():
63
def main_tasklet():
64
65
x = yield f
66
67
68
Calling a tasklet automatically schedules it with the event loop::
69
0 commit comments