Skip to content

Commit 0ebfaed

Browse files
authored
docs(tasklets): Fix Py2-style print statement (#840)
1 parent 3d65b77 commit 0ebfaed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/ndb/tasklets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def foo():
3636
def main():
3737
f = foo()
3838
x = f.result()
39-
print x
39+
print(x)
4040
4141
In this example, `foo` needs the results of two futures, `AFuture` and
4242
`BFuture`, which it gets somehow, for example as results of calls.
@@ -63,7 +63,7 @@ def main():
6363
def main_tasklet():
6464
f = foo()
6565
x = yield f
66-
print x
66+
print(x)
6767
6868
Calling a tasklet automatically schedules it with the event loop::
6969

0 commit comments

Comments
 (0)